aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/obscuren/otto/parser_test.go
diff options
context:
space:
mode:
authorzsfelfoldi <zsfelfoldi@gmail.com>2015-03-20 20:22:01 +0800
committerzsfelfoldi <zsfelfoldi@gmail.com>2015-03-20 20:22:01 +0800
commit8324b683b4e557e6c5c9d572d01f933b3e074185 (patch)
tree8c6a8c34d87f808c3979875642d4ca38844ad22d /Godeps/_workspace/src/github.com/obscuren/otto/parser_test.go
parent91f9f355b2e334214e38e1827c624cdcc23c5130 (diff)
downloadgo-tangerine-8324b683b4e557e6c5c9d572d01f933b3e074185.tar.gz
go-tangerine-8324b683b4e557e6c5c9d572d01f933b3e074185.tar.zst
go-tangerine-8324b683b4e557e6c5c9d572d01f933b3e074185.zip
using robertkrimen/otto, godeps updated
Diffstat (limited to 'Godeps/_workspace/src/github.com/obscuren/otto/parser_test.go')
-rw-r--r--Godeps/_workspace/src/github.com/obscuren/otto/parser_test.go42
1 files changed, 0 insertions, 42 deletions
diff --git a/Godeps/_workspace/src/github.com/obscuren/otto/parser_test.go b/Godeps/_workspace/src/github.com/obscuren/otto/parser_test.go
deleted file mode 100644
index 7db43d239..000000000
--- a/Godeps/_workspace/src/github.com/obscuren/otto/parser_test.go
+++ /dev/null
@@ -1,42 +0,0 @@
-package otto
-
-import (
- "testing"
-)
-
-func TestPersistence(t *testing.T) {
- tt(t, func() {
- test, _ := test()
-
- test(`
- function abc() { return 1; }
- abc.toString();
- `, "function abc() { return 1; }")
-
- test(`
- function def() { return 3.14159; }
- [ abc.toString(), def.toString() ];
- `, "function abc() { return 1; },function def() { return 3.14159; }")
-
- test(`
- eval("function ghi() { return 'ghi' }");
- [ abc.toString(), def.toString(), ghi.toString() ];
- `, "function abc() { return 1; },function def() { return 3.14159; },function ghi() { return 'ghi' }")
-
- test(`
- [ abc.toString(), def.toString(), ghi.toString() ];
- `, "function abc() { return 1; },function def() { return 3.14159; },function ghi() { return 'ghi' }")
-
- test(`/*
-
-
-
-
-
-
-
-
-
- */`, UndefinedValue())
- })
-}