Sha256: e78914f2d98ff0bc487cf60b76c411bfb83965aa4917073699f4df9ccd1b4a69

Contents?: true

Size: 674 Bytes

Versions: 7

Compression:

Stored size: 674 Bytes

Contents

Feature: Adding automatic return statements to the last evaluated statement
in a function. It is a rubyesque feature imported into Nila.  
  Scenario: Input function with no return statement
    Given the input file "no_return.nila"
    When the ~compiler is run
    The output file must be "no_return.js"
    The output file must equal "correct_return.js"

   Scenario: Input function with a return statement
    Given the input file "single_return.nila"
    When the ~compiler is run
    The output file must be "single_return.js"
    The output file must equal "correct_single_return.js"

Configurations:

~compiler => src/nilac.rb
:v $cliusage => ruby :v --compile $file

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
nilac-0.0.4.3.9.2 shark/features/add_auto_return_statement.feature
nilac-0.0.4.3.9.1 shark/features/add_auto_return_statement.feature
nilac-0.0.4.3.9 shark/features/add_auto_return_statement.feature
nilac-0.0.4.3.8 shark/features/add_auto_return_statement.feature
nilac-0.0.4.3.7 shark/features/add_auto_return_statement.feature
nilac-0.0.4.3.6 shark/features/add_auto_return_statement.feature
nilac-0.0.4.3.4 shark/features/add_auto_return_statement.feature