From 26d11383e548dccd7493079daeb9626c059aa87f Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Mon, 13 Nov 2023 18:14:54 -0500 Subject: [ruby/prism] fix: float suffix at end of file Found by fuzzing. https://github.com/ruby/prism/commit/d77d4fe2b7 --- test/prism/fuzzer_test.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'test') diff --git a/test/prism/fuzzer_test.rb b/test/prism/fuzzer_test.rb index 0aabd56242..ac112f897a 100644 --- a/test/prism/fuzzer_test.rb +++ b/test/prism/fuzzer_test.rb @@ -35,6 +35,7 @@ module Prism snippet "escaped unicode at end of file 7", '"\\u3' snippet "escaped unicode at end of file 8", '"\\u33' snippet "escaped unicode at end of file 9", '"\\u333' + snippet "float suffix at end of file", "1e" snippet "statements node with multiple heredocs", <<~EOF for <