From 26f6c593a4322273c73172179f0ffccd9b03931e Mon Sep 17 00:00:00 2001 From: Sven Thiele Date: Sat, 16 May 2020 22:25:17 +0200 Subject: [PATCH] fix tests --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b86d7aa..4047c86 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -464,7 +464,7 @@ pub enum ParDeclItem { fn test_par_decl_item() { use nom::error::VerboseError; assert_eq!( - par_decl_item::>("array [1..3] of float: X_139 = [1.0,1.0,1.0];\n"), + par_decl_item::>("array [1..3] of float: X_139 = [1.0,1.0,1.0];"), Ok(( "", ParDeclItem::Array { @@ -535,7 +535,7 @@ fn test_var_decl_item() { use nom::error::VerboseError; assert_eq!( var_decl_item::>( - "array [1..1] of var set of int: sets:: output_array([1..1]) = [X_0];\n" + "array [1..1] of var set of int: sets:: output_array([1..1]) = [X_0];" ), Ok(( "",