Skip to content

Commit

Permalink
Merge pull request Kong#337 from WALL-E/master
Browse files Browse the repository at this point in the history
[ string1 = string2 ] is good compatibility

Former-commit-id: 702dc3ed8c3bcc4109b1244a3c13afcf92ac4805
  • Loading branch information
thibaultcha committed Jun 14, 2015
2 parents 0436b20 + 30b9366 commit e71f991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ DEV_ROCKS=busted luacov luacov-coveralls luacheck
.PHONY: install dev clean start seed drop lint test coverage test-all

install:
@if [ `uname` == "Darwin" ]; then \
@if [ `uname` = "Darwin" ]; then \
luarocks make kong-*.rockspec; \
else \
luarocks make kong-*.rockspec \
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/tools/io_spec.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe("IO", function()
assert.are.same(0, code)
assert.truthy("Hello", res)

local res, code = IO.os_execute("asdasda \"Hello\"")
local res, code = IO.os_execute("LC_ALL=\"C\";asdasda \"Hello\"")
assert.are.same(127, code)
assert.are.same("/bin/bash: asdasda: command not found", res)
end)
Expand Down

0 comments on commit e71f991

Please sign in to comment.