Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sthiele committed May 16, 2020
1 parent 66b095a commit 26f6c59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ pub enum ParDeclItem {
fn test_par_decl_item() {
use nom::error::VerboseError;
assert_eq!(
par_decl_item::<VerboseError<&str>>("array [1..3] of float: X_139 = [1.0,1.0,1.0];\n"),
par_decl_item::<VerboseError<&str>>("array [1..3] of float: X_139 = [1.0,1.0,1.0];"),
Ok((
"",
ParDeclItem::Array {
Expand Down Expand Up @@ -535,7 +535,7 @@ fn test_var_decl_item() {
use nom::error::VerboseError;
assert_eq!(
var_decl_item::<VerboseError<&str>>(
"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((
"",
Expand Down

0 comments on commit 26f6c59

Please sign in to comment.