Browse Source

add a failing test to check the build fails

Nick Hildebrant 10 years ago
parent
commit
49b376be3c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      test/ci_tests/01_basic/basic_spec.lua

+ 4 - 1
test/ci_tests/01_basic/basic_spec.lua

@@ -2,6 +2,9 @@ require("cURL")
 
 describe("civetweb basic", function()
  it("should serve a simple get request", function()
-   assert.is(true)
+   assert.is_true(true)
+ end)
+ it("should fail the build on a failed test", function()
+   assert.is_false(true)
  end)
 end)