Skip to content

Commit

Permalink
Map start position
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardarella committed May 23, 2024
1 parent 9bf292b commit cb6aab0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/sourceror_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,9 @@ defmodule SourcerorTest do

quoted = Sourceror.parse_string!("foo(:bar)")
assert Sourceror.get_start_position(quoted) == [line: 1, column: 1]

quoted = Sourceror.parse_string!("%{a: 1}")
assert Sourceror.get_start_position(quoted) == [line: 1, column: 1]
end
end

Expand Down

0 comments on commit cb6aab0

Please sign in to comment.