Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/test_date.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def test_epoch() raises:

def test_writable_roundtrip() raises:
var d = parse_date("2026-07-03T01:02:03-07:00")
assert_equal(String.write(d), "2026-07-03T01:02:03-07:00")
assert_equal(String(d), "2026-07-03T01:02:03-07:00")


def test_item_date_method() raises:
Expand Down
2 changes: 1 addition & 1 deletion test/test_errors.mojo
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def _assert_lc(source: String, offset: Int, line: Int, col: Int) raises:


def _msg(e: Error) -> String:
return String.write(e)
return String(e)


# --------------------------------------------------------------------------
Expand Down
Loading