From c6a943907a5d344e43b5fa71e412d5880682c5b7 Mon Sep 17 00:00:00 2001 From: Tomasz Godzik Date: Wed, 18 Dec 2024 12:36:41 +0100 Subject: [PATCH] minor: Apply review comments --- .../src/test/scala/metaconfig/ConfDynamicSuite.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/metaconfig-tests/shared/src/test/scala/metaconfig/ConfDynamicSuite.scala b/metaconfig-tests/shared/src/test/scala/metaconfig/ConfDynamicSuite.scala index cd6f8af..790bd26 100644 --- a/metaconfig-tests/shared/src/test/scala/metaconfig/ConfDynamicSuite.scala +++ b/metaconfig-tests/shared/src/test/scala/metaconfig/ConfDynamicSuite.scala @@ -1,6 +1,4 @@ package metaconfig -import metaconfig.Configured.NotOk -import metaconfig.Configured.Ok class ConfDynamicSuite extends munit.FunSuite { @@ -22,8 +20,10 @@ class ConfDynamicSuite extends munit.FunSuite { } test("did you mean?") { conf.dynamic.banna.asConf match { - case NotOk(err) => assert(err.toString.contains("Did you mean 'banana'")) - case Ok(value) => fail("Expected \"Did you mean 'banana'\" error") + case Configured.NotOk(err) => + assert(err.toString.contains("Did you mean 'banana'")) + case Configured.Ok(value) => + fail("Expected \"Did you mean 'banana'\" error") } } }