Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pooza committed Feb 26, 2025
1 parent 27144ed commit f1565d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/icalendar_source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ def test_sanitize
def test_fix_google_calendar_entry
source = IcalendarSource.new({})
entry = source.fix_google_calendar_entry(
body: %(無理はせず、スコアのある、蓄積開始後ほこらに備えましょう #頑張りましたで称号\n\n#DQW期限\n\nGoogle Meet に参加: https://meet.google.com/aaa-bbbc-ccc\n\nMeet の詳細: https://support.google.com/a/users/ans),
body: "無理はせず、スコアのある、蓄積開始後ほこらに備えましょう #頑張りましたで称号\n\n#DQW期限\n\nGoogle Meet に参加: https://meet.google.com/aaa-bbbc-ccc\n\nMeet の詳細: https://support.google.com/a/users/ans",
location: '渋谷WOMBLOUNGE, 日本、〒150-0044 東京都渋谷区円山町2−16',
)

assert_equal(%(無理はせず、スコアのある、蓄積開始後ほこらに備えましょう #頑張りましたで称号\n\n#DQW期限), entry[:body])
assert_equal(%(渋谷WOMBLOUNGE), entry[:location])
assert_equal("無理はせず、スコアのある、蓄積開始後ほこらに備えましょう #頑張りましたで称号\n\n#DQW期限", entry[:body])
assert_equal('渋谷WOMBLOUNGE', entry[:location])
end

def test_entries
Expand Down

0 comments on commit f1565d2

Please sign in to comment.