summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/emscripten/test/test_run.js
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/emscripten/test/test_run.js')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.72.0/emscripten/test/test_run.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/emscripten/test/test_run.js b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/emscripten/test/test_run.js
deleted file mode 100644
index 27627094..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/emscripten/test/test_run.js
+++ /dev/null
@@ -1,18 +0,0 @@
-exports.test = function(libUncrustify, assert){
- var uncrustify = libUncrustify();
-
- var input = ' string a = "aaaa";';
- var expectedOutput = 'string a = "aaaa";';
- var generatedOutput = uncrustify.uncrustify( input, uncrustify.Language.CPP );
-
- assert.deepEqual(expectedOutput, generatedOutput, "comparing expectedOutput and generatedOutput");
-
- uncrustify.destruct();
-};
-
-if (module == require.main) {
- if(process.argv.length < 3) {throw "libUncrustify.js path missing";}
- var uncrustify = require(process.argv[2]);
- var assert = require("assert");
- exports.test(uncrustify, assert);
-}