Skip to content

Commit

Permalink
Fix test util and assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Nov 25, 2024
1 parent 7031b21 commit 4018d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ klmno

expect(
document.getText(range: range(0, 0, 0, 5)),
equals('asdf'),
equals('abcde'),
);
expect(
document.getText(range: range(0, 4, 1, 1)),
Expand Down
2 changes: 1 addition & 1 deletion pkgs/sass_language_services/test/position_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ lsp.Position position(int line, int char) {
lsp.Range range(int startLine, int startChar, int endLine, int endChar) {
return lsp.Range(
start: at(line: startLine, char: startChar),
end: at(line: startLine, char: startChar),
end: at(line: endLine, char: endChar),
);
}

0 comments on commit 4018d17

Please sign in to comment.