Skip to content

Commit

Permalink
Rename test class to avoid collision with TruffleRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
Maumagnaguagno committed May 3, 2024
1 parent c941b64 commit a00cd89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
- run: ruby tests/miner.rb
- run: ruby tests/painter.rb
- run: ruby tests/paisley.rb
- run: ruby tests/polyglot.rb
- run: ruby tests/rescue.rb
- run: ruby tests/simple.rb
- run: ruby tests/walker.rb
- run: ruby tests/recompiler.rb
# Examples
- run: ruby examples/experiments/Expression.rb
- run: ruby examples/experiments/Function.rb
Expand Down
4 changes: 2 additions & 2 deletions tests/polyglot.rb → tests/recompiler.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require './tests/hypest'

class Polyglot < Test::Unit::TestCase
class Recompiler < Test::Unit::TestCase

def intermediate_representation(parser)
[
Expand All @@ -27,7 +27,7 @@ def compile(ir)
Dot_Compiler,
Markdown_Compiler
].each {|compiler|
next if compiler == Cyber_Compiler and not ir[6][0]
next if compiler == Cyber_Compiler and (not ir[6][0] or RUBY_ENGINE == 'ruby')
compiler.compile_domain(*ir)
compiler.compile_problem(*ir, nil)
assert_equal(expected, ir)
Expand Down

0 comments on commit a00cd89

Please sign in to comment.