unittest: Remove remaining moonscript references

This commit is contained in:
Thiago de Arruda 2014-08-30 23:49:56 -03:00 committed by Nicolas Hillegeer
parent 38b7b4405e
commit 7b41fb383a
2 changed files with 5 additions and 6 deletions

View File

@ -215,7 +215,6 @@ end
-- uncomment the following lines (and comment the return) for standalone -- uncomment the following lines (and comment the return) for standalone
-- operation (very handy for debugging) -- operation (very handy for debugging)
local function standalone(...) local function standalone(...)
require "moonscript"
Preprocess = require("preprocess") Preprocess = require("preprocess")
Preprocess.add_to_include_path('./../../src') Preprocess.add_to_include_path('./../../src')
Preprocess.add_to_include_path('./../../build/include') Preprocess.add_to_include_path('./../../build/include')

View File

@ -13,11 +13,11 @@ local NULL = helpers.NULL
local garray = cimport('./src/nvim/garray.h') local garray = cimport('./src/nvim/garray.h')
-- define a basic interface to garray. We could make it a lot nicer by -- define a basic interface to garray. We could make it a lot nicer by
-- constructing a moonscript class wrapper around garray. It could for -- constructing a class wrapper around garray. It could for example associate
-- example associate ga_clear_strings to the underlying garray cdata if the -- ga_clear_strings to the underlying garray cdata if the garray is a string
-- garray is a string array. But for now I estimate that that kind of magic -- array. But for now I estimate that that kind of magic might make testing
-- might make testing less "transparant" (i.e.: the interface would become -- less "transparant" (i.e.: the interface would become quite different as to
-- quite different as to how one would use it from C. -- how one would use it from C.
-- accessors -- accessors
function ga_len(garr) function ga_len(garr)