From bac92035afc396275adf39b94e5b9862c2d3eb92 Mon Sep 17 00:00:00 2001 From: Yukihiro Okada Date: Thu, 31 Aug 2023 19:31:23 +0900 Subject: [PATCH] fixup! Fix convertToFinagleRequest --- .../test/scala/wvlet/airframe/http/finagle/FinagleTest.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/airframe-http-finagle/src/test/scala/wvlet/airframe/http/finagle/FinagleTest.scala b/airframe-http-finagle/src/test/scala/wvlet/airframe/http/finagle/FinagleTest.scala index dd90e10a6a..b4600c8cc0 100644 --- a/airframe-http-finagle/src/test/scala/wvlet/airframe/http/finagle/FinagleTest.scala +++ b/airframe-http-finagle/src/test/scala/wvlet/airframe/http/finagle/FinagleTest.scala @@ -82,8 +82,8 @@ class FinagleTest extends AirSpec { response.path shouldBe "/foo" response.params.contains("bar") shouldBe true response.params.contains("baz") shouldBe true - response.params.get("bar") shouldBe Option(true) - response.params.getInt("baz") shouldBe Option(1234) + response.params.get("bar") shouldBe Some(true) + response.params.getInt("baz") shouldBe Some(1234) } test("POST with request body") { val req = HttpMessage