Sfoglia il codice sorgente

was just a test of the testing automation

Nick Hildebrant 10 anni fa
parent
commit
e8380345dd
1 ha cambiato i file con 0 aggiunte e 27 eliminazioni
  1. 0 27
      test/ci_tests/test_spec.lua

+ 0 - 27
test/ci_tests/test_spec.lua

@@ -1,27 +0,0 @@
-describe("Busted unit testing framework", function()
-  describe("should be awesome", function()
-    it("should be easy to use", function()
-      assert.truthy("Yup.")
-    end)
-
-    it("should have lots of features", function()
-      -- deep check comparisons!
-      assert.are.same({ table = "great"}, { table = "great" })
-
-      -- or check by reference!
-      assert.are_not.equal({ table = "great"}, { table = "great"})
-
-      assert.truthy("this is a string") -- truthy: not false or nil
-
-      assert.True(1 == 1)
-      assert.is_true(1 == 1)
-
-      assert.falsy(nil)
-      assert.has_error(function() error("Wat") end, "Wat")
-    end)
-
-    it("should provide some shortcuts to common functions", function()
-      assert.are.unique({{ thing = 1 }, { thing = 2 }, { thing = 3 }})
-    end)
-  end)
-end)