scelis / twine

Twine is a command line tool for managing your strings and their translations.
Other
840 stars 151 forks source link

Fix Warnings When Running Rake Test #264

Closed danl3v closed 5 years ago

danl3v commented 5 years ago

Fixes a few of these:

DTWC02LV1V5FD58:twine dlevy$ rake test
/Users/dlevy/dev/twine/lib/twine/plugin.rb:60: warning: `*' interpreted as argument prefix
/Users/dlevy/dev/twine/lib/twine/twine_file.rb:17: warning: method redefined; discarding old comment
/Users/dlevy/dev/twine/lib/twine/placeholders.rb:73: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/Users/dlevy/dev/twine/lib/twine/formatters/android.rb:146: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/Users/dlevy/dev/twine/lib/twine/formatters/android.rb:157: warning: ambiguous first argument; put parentheses or a space even after `/' operator
/Users/dlevy/dev/twine/lib/twine/formatters/django.rb:21: warning: assigned but unused variable - last_comment
/Users/dlevy/dev/twine/lib/twine/formatters/jquery.rb:44: warning: `&' interpreted as argument prefix
/Users/dlevy/dev/twine/lib/twine/runner.rb:302: warning: `&' interpreted as argument prefix
/Users/dlevy/dev/twine/test/test_cli.rb:23: warning: ambiguous first argument; put parentheses or a space even after `/' operator
Run options: --seed 64197

# Running:

...............................................................................................................S.....................................................................................................

Finished in 0.769036s, 276.9701 runs/s, 555.2406 assertions/s.

213 runs, 427 assertions, 0 failures, 0 errors, 1 skips

You have skipped tests. Run with --verbose for details.
scelis commented 5 years ago

Thanks!