From 6b02cb3019daaaa8f8e8da886b81f574e5dafb77 Mon Sep 17 00:00:00 2001 From: "Neil L. Decapia" Date: Wed, 23 Aug 2023 17:47:10 +0800 Subject: [PATCH] Fix rubocop violation in Lumberaxe spec --- packages/lumberaxe/spec/lumberaxe/lumberaxe_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/lumberaxe/spec/lumberaxe/lumberaxe_spec.rb b/packages/lumberaxe/spec/lumberaxe/lumberaxe_spec.rb index d3e6072f..4de43516 100644 --- a/packages/lumberaxe/spec/lumberaxe/lumberaxe_spec.rb +++ b/packages/lumberaxe/spec/lumberaxe/lumberaxe_spec.rb @@ -95,7 +95,7 @@ it "logs any valid combination of tag formats" do expect do subject.tagged("omega", "pV=nRT", paink: "iller") { subject.info("brown") } - end.to output(%r{(?=.*"tags":\["omega",{"paink":"iller"}\])(?=.*"pV":"nRT")}).to_stdout_from_any_process + end.to output(/(?=.*"tags":\["omega",{"paink":"iller"}\])(?=.*"pV":"nRT")/).to_stdout_from_any_process end end end