Skip to content

Commit

Permalink
fix issue #9
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew2net committed Sep 7, 2023
1 parent 8a67a5d commit 60bba06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/isoics/ics.rb
Expand Up @@ -39,7 +39,7 @@ def initialize(fieldcode:, groupcode: nil, subgroupcode: nil)
@notes = ics_data[:notes]&.map { |n| Note.new n }
@notes ||= []
else
warn "[isoics] code #{code} not found in ICS list"
warn "[isoics] code \"#{code}\" not found in ICS list"
@code = code
@fieldcode = fieldcode
@groupcode = groupcode
Expand Down
2 changes: 1 addition & 1 deletion lib/isoics/version.rb
@@ -1,3 +1,3 @@
module Isoics
VERSION = "0.1.12".freeze
VERSION = "0.1.13".freeze
end
2 changes: 1 addition & 1 deletion spec/ics_spec.rb
Expand Up @@ -3,7 +3,7 @@
it "code not found" do
expect do
described_class.new(fieldcode: "01", groupcode: "01", subgroupcode: "01")
end.to output("[isoics] code 01.01.01 not found in ICS list\n").to_stderr
end.to output("[isoics] code \"01.01.01\" not found in ICS list\n").to_stderr
end
end
end

0 comments on commit 60bba06

Please sign in to comment.