fix conflicting test class names

why the fail didn't show locall, even with the same seed, i do not know
This commit is contained in:
Torsten Ruger 2018-07-07 17:57:46 +03:00
parent 7c4faf7b2a
commit 1913848910
16 changed files with 20 additions and 20 deletions

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestArray < MiniTest::Test
class TestArrayX < MiniTest::Test
include RubyTests
def test_empty

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestBasicValues < MiniTest::Test
class TestBasicValuesX < MiniTest::Test
include RubyTests
def test_self
@ -47,7 +47,7 @@ module Vool
assert_equal 1 , lst.statements.first.value
end
end
class TestBasicTypes < MiniTest::Test
class TestBasicTypesX < MiniTest::Test
include RubyTests
def setup

View File

@ -1,9 +1,9 @@
require_relative "helper"
module Vool
class TestBlockStatement < MiniTest::Test
class TestBlockStatementX < MiniTest::Test
include RubyTests
def setup()
input = "plus_one{|arg1| arg1 + 1 } "
@lst = compile( input )

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestEmptyClassStatement < MiniTest::Test
class TestEmptyClassStatementX < MiniTest::Test
include RubyTests
def setup
@ -26,7 +26,7 @@ module Vool
end
end
class TestBasicClassStatement < MiniTest::Test
class TestBasicClassStatementX < MiniTest::Test
include ScopeHelper
include RubyTests

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class HashArray < MiniTest::Test
class HashArrayX < MiniTest::Test
include RubyTests
def test_empty

View File

@ -1,7 +1,7 @@
require_relative 'helper'
module Vool
class TestIfStatement < MiniTest::Test
class TestIfStatementX < MiniTest::Test
include RubyTests
def basic_if

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestIvarAssignment < MiniTest::Test
class TestIvarAssignmentX < MiniTest::Test
include RubyTests
def test_local

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestLocalAssignment < MiniTest::Test
class TestLocalAssignmentX < MiniTest::Test
include RubyTests
def test_local

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestLogical < MiniTest::Test
class TestLogicalX < MiniTest::Test
include RubyTests
def simple

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestMethodStatement < MiniTest::Test
class TestMethodStatementX < MiniTest::Test
include RubyTests
def basic_setup()

View File

@ -18,7 +18,7 @@ module Vool
assert_equal 5 , @lst.value.arguments.first.value
end
end
class TestLocalOpAssign < MiniTest::Test
class TestLocalOpAssignX < MiniTest::Test
include OpAss
include RubyTests
def setup
@ -28,7 +28,7 @@ module Vool
assert_equal LocalAssignment , @lst.class
end
end
class TestIvarOpAssign < MiniTest::Test
class TestIvarOpAssignX < MiniTest::Test
include OpAss
include RubyTests
def setup

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestReturnStatement < MiniTest::Test
class TestReturnStatementX < MiniTest::Test
include RubyTests
def test_return_const

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestSend < MiniTest::Test
class TestSendX < MiniTest::Test
include RubyTests
def test_simple

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestVariables < MiniTest::Test
class TestVariablesX < MiniTest::Test
include RubyTests
# "free standing" local can not be tested as it will result in send

View File

@ -1,7 +1,7 @@
require_relative 'helper'
module Vool
class TestWhileStatement < MiniTest::Test
class TestWhileStatementX < MiniTest::Test
include RubyTests
def basic_while

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestYieldStatement < MiniTest::Test
class TestYieldStatementX < MiniTest::Test
include RubyTests
def setup()