File indexing completed on 2024-04-14 03:43:52

0001 #  SPDX-FileCopyrightText: 2009 Cies Breijs
0002 #
0003 #  SPDX-License-Identifier: GPL-2.0-or-later
0004 
0005 require File.dirname(__FILE__) + '/spec_helper.rb'
0006 $i = Interpreter.instance
0007 
0008 describe "scopes" do
0009   it "should allow empty scopes" do
0010     true.should_not be_true
0011     # empty scopes currently hang the interpreter
0012     # so do scopes without a flow/learn statement
0013     # TODO fix this. (without the fix the other tests are useless)
0014   end
0015 
0016   it "should error on unbalanced scopes"
0017   it "should properly localize variables"
0018 end