freerange / mocha

A mocking and stubbing library for Ruby
https://mocha.jamesmead.org
Other
1.23k stars 158 forks source link

Run CI build with `--enable-frozen-string-literal` Ruby command line option #640

Open floehopper opened 7 months ago

floehopper commented 7 months ago

Some useful context in https://gist.github.com/fxn/bf4eed2505c76f4fca03ab48c43adc72.

floehopper commented 3 months ago

The need to do this might go away when Ruby v3.4 is released, because then String literals will be frozen by default.

Also I have just fixed a bunch of relevant warnings in #672.