Skip to content

diamonds, fuel-economy: suppress "literal string will be frozen in the future" warning #210

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

tikkss
Copy link
Contributor

@tikkss tikkss commented Sep 2, 2024

Before change:

$ ruby test/run-test.rb -t '/DiamondsTest|FuelEconomyTest/' 2>&1 | grep red-datasets
/Users/zzz/src/github.com/red-data-tools/red-datasets/lib/datasets/ggplot2-dataset.rb:49: warning: literal string will be frozen in the future
(repeated 29 times)

After change:

$ ruby test/run-test.rb -t '/DiamondsTest|FuelEconomyTest/' 2>&1 | grep red-datasets

…e future" warning

Before change:

```console
$ ruby test/run-test.rb -t '/DiamondsTest|FuelEconomyTest/' 2>&1 | grep red-datasets
/Users/zzz/src/github.com/red-data-tools/red-datasets/lib/datasets/ggplot2-dataset.rb:49: warning: literal string will be frozen in the future
(repeated 29 times)
```

After change:

```console
$ ruby test/run-test.rb -t '/DiamondsTest|FuelEconomyTest/' 2>&1 | grep red-datasets
```
@kou kou merged commit e3bc43b into red-data-tools:master Sep 3, 2024
12 checks passed
@kou
Copy link
Member

kou commented Sep 3, 2024

Thanks.

@tikkss
Copy link
Contributor Author

tikkss commented Sep 3, 2024

Thanks for your review!

@tikkss tikkss deleted the suppress-frozen-string-literal-warning-diamonds-fuel-economy branch September 3, 2024 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants