From 90ed4dd73b6dea736e6933298e32358f64bb4bc7 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 15 Oct 2015 10:21:07 +0300 Subject: [PATCH] test return statement --- test/compiler/statements/test_all.rb | 1 + test/compiler/statements/test_if.rb | 13 ----- test/compiler/statements/test_return.rb | 70 +++++++++++++++++++++++++ 3 files changed, 71 insertions(+), 13 deletions(-) create mode 100644 test/compiler/statements/test_return.rb diff --git a/test/compiler/statements/test_all.rb b/test/compiler/statements/test_all.rb index 15eba1aa..a2f1d4bd 100644 --- a/test/compiler/statements/test_all.rb +++ b/test/compiler/statements/test_all.rb @@ -1 +1,2 @@ require_relative "test_if" +require_relative "test_return" diff --git a/test/compiler/statements/test_if.rb b/test/compiler/statements/test_if.rb index 4375d32d..d36fc8f2 100644 --- a/test/compiler/statements/test_if.rb +++ b/test/compiler/statements/test_if.rb @@ -41,19 +41,6 @@ HERE end - def ttest_return - @string_input = <