krakend 0.9.0
Closes #38730. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
9baa816b77
commit
a28b9655c3
1 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
|||
class Krakend < Formula
|
||||
desc "Ultra-High performance API Gateway built in Go"
|
||||
homepage "https://www.krakend.io/"
|
||||
url "https://github.com/devopsfaith/krakend-ce/archive/0.8.0.tar.gz"
|
||||
sha256 "8194f5c459732a35ee05154e388f911a4ebab02e801e735c2803f4100c1e53f0"
|
||||
url "https://github.com/devopsfaith/krakend-ce/archive/0.9.0.tar.gz"
|
||||
sha256 "8d6938af3483c909b0762ab44998f09812632081045bebc33b707c85b3985a00"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
|
@ -39,7 +39,7 @@ class Krakend < Formula
|
|||
}
|
||||
}
|
||||
EOS
|
||||
assert_match "Unsupported version", shell_output("#{bin}/krakend check -c krakend_unsupported_version.json 2>&1")
|
||||
assert_match "Unsupported version", shell_output("#{bin}/krakend check -c krakend_unsupported_version.json 2>&1", 1)
|
||||
|
||||
(testpath/"krakend_bad_file.json").write <<~EOS
|
||||
{
|
||||
|
@ -47,7 +47,7 @@ class Krakend < Formula
|
|||
"bad": file
|
||||
}
|
||||
EOS
|
||||
assert_match "ERROR", shell_output("#{bin}/krakend check -c krakend_bad_file.json 2>&1")
|
||||
assert_match "ERROR", shell_output("#{bin}/krakend check -c krakend_bad_file.json 2>&1", 1)
|
||||
|
||||
(testpath/"krakend.json").write <<~EOS
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue