It still allows for unterminated hash and array literal errors for multi-line hashes and arrays, but when someone tries to use a string with single quotes, an error will be thrown instead.
Also, I couldn't get specs to pass because I got an error related to an older spec. It throws the proper error, we just were catching the wrong case. I just made it case insensitive to catch Invalid|invalid. I think this is related to a newer version of crystal.
This PR fixes #49
It still allows for unterminated hash and array literal errors for multi-line hashes and arrays, but when someone tries to use a string with single quotes, an error will be thrown instead.
Also, I couldn't get specs to pass because I got an error related to an older spec. It throws the proper error, we just were catching the wrong case. I just made it case insensitive to catch
Invalid|invalid
. I think this is related to a newer version of crystal.