From 0776218299aa76f3049b772b399ce865e9fe3fca Mon Sep 17 00:00:00 2001 From: HassanAkbar Date: Tue, 9 Jul 2024 20:11:59 +0500 Subject: [PATCH] fix: rubocop issues fixed --- spec/lutaml/model/render_nil_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lutaml/model/render_nil_spec.rb b/spec/lutaml/model/render_nil_spec.rb index c208770..8777f00 100644 --- a/spec/lutaml/model/render_nil_spec.rb +++ b/spec/lutaml/model/render_nil_spec.rb @@ -107,7 +107,7 @@ class RenderNil < Lutaml::Model::Serializable # Removing empty spaces from the end of the line because of and issue in # libyaml -> https://github.com/yaml/libyaml/issues/46 - generated_yaml = generated_yaml.gsub(/: \n/, ":\n") + generated_yaml = generated_yaml.gsub(": \n", ":\n") expect(generated_yaml).to eq(expected_yaml.strip) end