From 415a657d0831d8fb575a18b0bd3c06575cb136f0 Mon Sep 17 00:00:00 2001 From: James McCoy Date: Sun, 27 Apr 2025 06:49:04 -0400 Subject: [PATCH] fix(test): remove period in `test_flatten_grammar_with_recursive_inline_variable` The period was dropped in the `thiserror` refactor (79444e07f92cbc786ee6ce37fd7a8f465f5055ad), which caused the `test_flatten_grammar_with_recursive_inline_variable` test to fail. Signed-off-by: James McCoy (cherry picked from commit a6e530b33d12b81e6b25449435bc05943c5e4057) --- cli/generate/src/prepare_grammar/flatten_grammar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/generate/src/prepare_grammar/flatten_grammar.rs b/cli/generate/src/prepare_grammar/flatten_grammar.rs index b8033d5f..bffd3ef9 100644 --- a/cli/generate/src/prepare_grammar/flatten_grammar.rs +++ b/cli/generate/src/prepare_grammar/flatten_grammar.rs @@ -533,7 +533,7 @@ mod tests { assert_eq!( result.unwrap_err().to_string(), - "Rule `test` cannot be inlined because it contains a reference to itself.", + "Rule `test` cannot be inlined because it contains a reference to itself", ); } }