test/test_source.rb in pdd-0.19.3 vs test/test_source.rb in pdd-0.19.4
- old
+ new
@@ -32,11 +32,11 @@
Dir.mktmpdir 'test' do |dir|
file = File.join(dir, 'a.txt')
File.write(
file,
"
- * \x40todo #44 hello,
+ * \x40todo #44 привет,
* how are you\t\r\tdoing?
* -something else
Something else
~~ \x40todo #ABC-3 this is another puzzle
~~ and it also has to work
@@ -44,10 +44,10 @@
)
list = PDD::VerboseSource.new(file, PDD::Source.new(file, 'hey')).puzzles
assert_equal 2, list.size
puzzle = list.first
assert_equal '2-3', puzzle.props[:lines]
- assert_equal 'hello, how are you doing?', puzzle.props[:body]
+ assert_equal 'привет, how are you doing?', puzzle.props[:body]
assert_equal '44', puzzle.props[:ticket]
assert puzzle.props[:author].nil?
assert puzzle.props[:email].nil?
assert puzzle.props[:time].nil?
end