aboutsummaryrefslogtreecommitdiff
path: root/test/unit/formatc.lua
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-07-22 21:09:24 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-07-27 14:00:44 -0300
commitad4c1e19543a1804904826083128e3ad8cd248bd (patch)
tree50fefd46438f980efd5f4a234742e8fe0980dfdd /test/unit/formatc.lua
parent10479fd2330341364a2721ee509e6b73ff2b3152 (diff)
downloadrneovim-ad4c1e19543a1804904826083128e3ad8cd248bd.tar.gz
rneovim-ad4c1e19543a1804904826083128e3ad8cd248bd.tar.bz2
rneovim-ad4c1e19543a1804904826083128e3ad8cd248bd.zip
test/formatc: improve standalone usage
Easier testing.
Diffstat (limited to 'test/unit/formatc.lua')
-rw-r--r--test/unit/formatc.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/formatc.lua b/test/unit/formatc.lua
index c010738ebb..dc1fb3fd9c 100644
--- a/test/unit/formatc.lua
+++ b/test/unit/formatc.lua
@@ -218,6 +218,8 @@ local function standalone(...)
require "moonscript"
Preprocess = require("preprocess")
Preprocess.add_to_include_path('./../../src')
+ Preprocess.add_to_include_path('./../../build/include')
+ Preprocess.add_to_include_path('./../../.deps/usr/include')
input = Preprocess.preprocess_stream(arg[1])
local raw = input:read('*all')