Skip to content

Commit b5fd856

Browse files
committed
improve test
1 parent 9ca79f9 commit b5fd856

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • modules/10-basics/10-hello-world

modules/10-basics/10-hello-world/test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
describe 'output' do
66
it 'should works' do
7-
_(-> { require_relative 'index' }).must_output(/Hello, World!/)
7+
_(-> { require_relative 'index' }).must_output(/^Hello, World!$/)
88
puts 'Hello, World!'
99
end
1010
end

0 commit comments

Comments
 (0)