diff options
author | Benjamin Jones <bjones@galois.com> | 2013-06-17 00:22:49 -0700 |
---|---|---|
committer | Benjamin Jones <bjones@galois.com> | 2013-06-17 00:22:49 -0700 |
commit | 27e7d5dbd6d6510df67b72f193fbdaaf7e837e59 (patch) | |
tree | 2d9a4d5ae23cc4208844d5306f39ed5a84ace6a3 /exampleData/ruleSets/trivialReport.js | |
parent | 465269594485f4bf61c7475ac0f46c95b7357014 (diff) |
big cleanup and reorganization of exampleData directory; bugfixes to the basic/ rules; added test_basic.html for testing basic UI rules
Diffstat (limited to 'exampleData/ruleSets/trivialReport.js')
-rw-r--r-- | exampleData/ruleSets/trivialReport.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/exampleData/ruleSets/trivialReport.js b/exampleData/ruleSets/trivialReport.js new file mode 100644 index 0000000..d4701ca --- /dev/null +++ b/exampleData/ruleSets/trivialReport.js @@ -0,0 +1,6 @@ +exports.name = 'Test rule'; +exports.description = 'An empty test rule'; + +exports.rule = function(report) { + report.error('test error', null); +}; |