Sha256: 1e79ca19d899797ceff66c1c0aebca47f2b24d0c9e88bb735f5ddbfec8045bd3

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

describe "Standard Library" do
  describe "append" do
    before :each do
      @interpreter = Flea::Interpreter.new
    end
    
    it "union of two lists" do
      result = @interpreter.run('
        (append (quote (1 2 3)) (quote (1 2 3)))
      ')
      result.should == [1, 2, 3, 1, 2, 3]
    end
    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flea-0.1.0 spec/flea/standard_library/append_spec.rb