aboutsummaryrefslogtreecommitdiffstats
path: root/plugins_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins_test.go')
-rw-r--r--plugins_test.go34
1 files changed, 0 insertions, 34 deletions
diff --git a/plugins_test.go b/plugins_test.go
deleted file mode 100644
index 894ff3c..0000000
--- a/plugins_test.go
+++ /dev/null
@@ -1,34 +0,0 @@
-package main
-
-import (
- "testing"
-
- lua "github.com/yuin/gopher-lua"
-)
-
-func TestMetaTable(t *testing.T) {
- luaState := lua.NewState()
- defer luaState.Close()
-
- RegisterCustomLuaTypes(luaState)
-
- if err := luaState.DoString(`
- print("Testing MetaTable")
- print(toml_config)
-
- for index, data in ipairs(toml_config) do
- print(index, data)
- for k,v in pairs(data) do
- print("one")
- print(k,v)
- end
- end
-
- config = toml_config.new()
- print(config:IrcServer())
- config:IrcServer("irc.freenode.net")
- print(config:IrcServer())
- `); err != nil {
- t.Fatal(err)
- }
-}