From 750cf4c4801bdf0059bca1503eb8e15ebce73473 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Sun, 27 Nov 2022 06:09:45 +0000 Subject: [PATCH] Activate yamatanooroti tests on CI (#459) * Activate yamatanooroti tests on CI * Fix delete test --- .github/workflows/test.yml | 2 +- test/irb/yamatanooroti/test_rendering.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4d262c422..26c0658bb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -71,4 +71,4 @@ jobs: gem install bundler --no-document WITH_VTERM=1 bundle install - name: rake test_yamatanooroti - run: bundle exec rake test_yamatanooroti + run: WITH_VTERM=1 bundle exec rake test_yamatanooroti diff --git a/test/irb/yamatanooroti/test_rendering.rb b/test/irb/yamatanooroti/test_rendering.rb index 485fa47c2..6d1a0a1d7 100644 --- a/test/irb/yamatanooroti/test_rendering.rb +++ b/test/irb/yamatanooroti/test_rendering.rb @@ -297,9 +297,9 @@ def test_delete write("continue\n") write("delete 0\n") close - assert_include_screen(<<~EOC) + assert_include_screen(<<~EOC.strip) (rdbg:irb) delete 0 - deleted: #0 BP - Line #{@ruby_file}:5 (line) + deleted: #0 BP - Line EOC end