Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add specs for hash key ends with
!
or ?
This PR adds several spec for the following syntax errors: ```console $ ruby -cve '{a!:}' ruby 3.4.0dev (2024-04-18T03:46:51Z master b3c59370ca) [x86_64-darwin23] -e:1: identifier a! is not valid to get ruby: compile error (SyntaxError) $ ruby -cve '{a?:}' ruby 3.4.0dev (2024-04-18T03:46:51Z master b3c59370ca) [x86_64-darwin23] -e:1: identifier a? is not valid to get ruby: compile error (SyntaxError) ``` This addition supplements some specs for the non-omitting value hash notation.
- Loading branch information