test/cli/test_cli.rb in nanoc-4.1.1 vs test/cli/test_cli.rb in nanoc-4.1.2
- old
+ new
@@ -1,16 +1,16 @@
class Nanoc::CLITest < Nanoc::TestCase
- COMMAND_CODE = <<EOS
+ COMMAND_CODE = <<EOS.freeze
usage '_test [options]'
summary 'meh'
description 'longer meh'
run do |opts, args, cmd|
File.open('_test.out', 'w') { |io| io.write('It works!') }
end
EOS
- SUBCOMMAND_CODE = <<EOS
+ SUBCOMMAND_CODE = <<EOS.freeze
usage '_sub [options]'
summary 'meh sub'
description 'longer meh sub'
run do |opts, args, cmd|