Skip to content

Commit

Permalink
removed main() from ffi-test
Browse files Browse the repository at this point in the history
  • Loading branch information
vaishnavachath committed May 24, 2018
1 parent 4eda77d commit 2ac415e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/test-ffi.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ var testDir = '/tmp/ffi-test';
var Cfile = testDir + '/ffi-test';
var txtFile = testDir + '/txt-test.txt'
var args = {
'main': ['int', ['void']],
'dummy': ['int', ['void']]
};
var text = "HELLO";
Expand All @@ -15,14 +14,7 @@ int dummy()
printf("Hello, World!");
return 0;
}
int main()
{
printf("Should never run.");
return 1;
}
`

module.exports.testFFI = function (test) {

test.expect(5);
Expand Down

0 comments on commit 2ac415e

Please sign in to comment.