Fix unmatched quotes error

This commit is contained in:
Alex Scown
2022-01-09 14:29:39 +00:00
parent b03f8c4dd3
commit fc2d834739

View File

@@ -32,7 +32,7 @@ def input(prompt)
next_string.chomp!('"')
else
# No close quote Vintage Basic crashes in this case
raise ArgumentError('Unmatched quotes in input')
raise 'Unmatched quotes in input'
end
elsif scanner.exist?(/,/)
next_string = scanner.scan_until(/,/).chomp(',')