shard-spectator/spec
Michael Miller 2e5f822e1d
Remove new from reserved keywords
This effectively allows stubs to be placed on the `new` method for types.
A strange issue arose when the keyword was allowed.
The compiler failed to resolve the Stub type from the Double initializer.
The error trace goes through null_double_spec.cr.
Running just that spec file confirms the issue is there, but running other individual files doesn't produce the error.
As a workaround, I've put the full path of Stub in the initializer.
2022-07-12 22:30:04 -06:00
..
docs Add missing require for spec_helper 2022-05-25 17:28:11 -06:00
features Run smoke test for nightly 2022-05-25 17:20:57 -06:00
helpers Spelling 2022-01-10 21:10:36 -07:00
issues Remove new from reserved keywords 2022-07-12 22:30:04 -06:00
matchers Rename Arguments.empty to Arguments.none 2022-07-12 18:59:23 -06:00
rspec Adjust evaluation order of change matcher expressions 2022-05-14 23:30:15 -06:00
spectator Add inject_mock to DSL 2022-07-12 22:12:48 -06:00
runtime_example_spec.cr Mark slow compilation tests 2021-08-18 15:57:39 -06:00
spec_helper.cr Initial work on Double 2022-03-03 22:10:09 -07:00