test/cli/test_cli.rb in nanoc-4.0.0b2 vs test/cli/test_cli.rb in nanoc-4.0.0b3
- old
+ new
@@ -1,22 +1,16 @@
-# encoding: utf-8
-
class Nanoc::CLITest < Nanoc::TestCase
COMMAND_CODE = <<EOS
-# encoding: utf-8
-
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
-# encoding: utf-8
-
usage '_sub [options]'
summary 'meh sub'
description 'longer meh sub'
run do |opts, args, cmd|