Skip to content
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

postal-code-japan: suppress "literal string will be frozen in the future" warning #227

Conversation

tikkss
Copy link
Contributor

@tikkss tikkss commented Sep 8, 2024

Before change:

$ ruby test/run-test.rb -t PostalCodeJapanTest 2>&1 | grep red-datasets
/Users/zzz/src/github.com/red-data-tools/red-datasets/lib/datasets/postal-code-japan.rb:45: warning: literal string will be frozen in the future

After change:

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

…ure" warning

Before change:

```console
$ ruby test/run-test.rb -t PostalCodeJapanTest 2>&1 | grep red-datasets
/Users/zzz/src/github.com/red-data-tools/red-datasets/lib/datasets/postal-code-japan.rb:45: warning: literal string will be frozen in the future
```

After change:

```console
$ ruby test/run-test.rb -t PostalCodeJapanTest 2>&1 | grep red-datasets
```
@kou kou merged commit 7f4212b into red-data-tools:master Sep 8, 2024
9 checks passed
@kou
Copy link
Member

kou commented Sep 8, 2024

Thanks.

@tikkss tikkss deleted the suppress-frozen-string-literal-warning-postal-code-japan branch September 9, 2024 03:32
@tikkss
Copy link
Contributor Author

tikkss commented Sep 9, 2024

Thanks for your review!

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