Skip to content

Commit

Permalink
fix expected output of pretty/cast-lt and issue-4264 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tinco committed Jul 11, 2018
1 parent f0b1a78 commit b96deed
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/test/pretty/cast-lt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#[prelude_import]
use std::prelude::v1::*;
#[macro_use]
extern crate std as std;
extern crate std;
// Copyright 2017 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
Expand All @@ -21,4 +21,3 @@
macro_rules! negative(( $ e : expr ) => { $ e < 0 });

fn main() { (1 as i32) < 0; }

1 change: 0 additions & 1 deletion src/test/pretty/cast-lt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ macro_rules! negative {
fn main() {
negative!(1 as i32);
}

2 changes: 1 addition & 1 deletion src/test/pretty/issue-4264.pp
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[prelude_import]
use std::prelude::v1::*;
#[macro_use]
extern crate std as std;
extern crate std;
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution and at
// http://rust-lang.org/COPYRIGHT.
Expand Down

0 comments on commit b96deed

Please sign in to comment.