From 31a07da88dc9473a9f05617a98db6180e6e9e3c6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 6 Jan 2018 21:54:55 +0300 Subject: Boolean results --- tests/data/parser/0002_struct_item_field.txt | 2 +- tests/parser.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/data/parser/0002_struct_item_field.txt b/tests/data/parser/0002_struct_item_field.txt index b1673ade3..87ab3f7a9 100644 --- a/tests/data/parser/0002_struct_item_field.txt +++ b/tests/data/parser/0002_struct_item_field.txt @@ -12,4 +12,4 @@ FILE@[0; 25) WHITESPACE@[19; 20) IDENT@[20; 23) WHITESPACE@[23; 24) - R_CURLY@[24; 25) \ No newline at end of file + R_CURLY@[24; 25) diff --git a/tests/parser.rs b/tests/parser.rs index 5c63be3be..6c31463ad 100644 --- a/tests/parser.rs +++ b/tests/parser.rs @@ -49,7 +49,7 @@ fn parser_test_case(path: &Path) { return } if expected.trim() == actual.trim() { - panic!("Whitespace difference!") + panic!("Whitespace difference! {}", path.display()) } assert_diff!(expected, actual, "\n", 0) } -- cgit v1.2.3