Skip to content

Commit

Permalink
fix lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Aug 24, 2015
1 parent 7f45238 commit 982f762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/constants_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ local constants = require("kong.constants")

describe("Constants", function()
it("Tests accessing database error codes", function()
assert.has_no_error(function() local a = constants.DATABASE_ERROR_TYPES.DATABASE end)
assert.has_error(function() local a = constants.DATABASE_ERROR_TYPES.ThIs_TyPe_DoEs_NoT_ExIsT end)
assert.has_no_error(function() local _ = constants.DATABASE_ERROR_TYPES.DATABASE end)
assert.has_error(function() local _ = constants.DATABASE_ERROR_TYPES.ThIs_TyPe_DoEs_NoT_ExIsT end)
end)

end)

0 comments on commit 982f762

Please sign in to comment.