fixed, all tests green
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
require_relative "../helper"
|
||||
require_relative "setup"
|
||||
require "parslet/convenience"
|
||||
|
||||
# remove the line numbers on assert fails, so it's easy to copy paste the result as the expected result
|
@ -9,13 +9,13 @@ rescue Bundler::BundlerError => e
|
||||
$stderr.puts "Run `bundle install` to install missing gems"
|
||||
exit e.status_code
|
||||
end
|
||||
require 'test/unit'
|
||||
require 'shoulda'
|
||||
|
||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
||||
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
||||
|
||||
require 'parser'
|
||||
|
||||
require "minitest"
|
||||
require "minitest/autorun"
|
||||
|
||||
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestArguments < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestBasic < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestCallSite < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestClassDef < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestCompound < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestConditional < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestExpressions < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
# some cases that fail, and fail badly.
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestFunctionDefinition < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestModuleDef < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestExpressions < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestReturn < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestRoot < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
@ -1,4 +1,4 @@
|
||||
require_relative "helper"
|
||||
require_relative "parser_helper"
|
||||
|
||||
class TestWhile < MiniTest::Test
|
||||
# include the magic (setup and parse -> test method translation), see there
|
||||
|
Reference in New Issue
Block a user