From d59b6f0e1b89d8b666e10252cb6ef351fb6c92a0 Mon Sep 17 00:00:00 2001 From: Nikolay Gagarinov Date: Mon, 1 Jun 2026 17:49:32 +0500 Subject: [PATCH] fix: make hello world test check exact output Closes #162 Co-Authored-By: Claude Sonnet 4.6 --- modules/10-basics/10-hello-world/test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/10-basics/10-hello-world/test.rb b/modules/10-basics/10-hello-world/test.rb index 77b52de..69bd10a 100644 --- a/modules/10-basics/10-hello-world/test.rb +++ b/modules/10-basics/10-hello-world/test.rb @@ -4,7 +4,6 @@ describe 'output' do it 'should works' do - _(-> { require_relative 'index' }).must_output(/^Hello, World!$/) - puts 'Hello, World!' + _(-> { require_relative 'index' }).must_output("Hello, World!\n") end end