Skip to content

Commit

Permalink
test: fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <[email protected]>
  • Loading branch information
He1pa committed Jan 17, 2024
1 parent 22c96e7 commit 77bc38c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions kclvm/sema/src/advanced_resolver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ mod tests {
vec![
(
1,
0,
7,
1,
20,
"import_test.a".to_string(),
Expand All @@ -456,7 +456,7 @@ mod tests {
),
(
2,
0,
7,
2,
20,
"import_test.b".to_string(),
Expand All @@ -474,7 +474,7 @@ mod tests {
),
(
3,
0,
7,
3,
20,
"import_test.c".to_string(),
Expand All @@ -492,7 +492,7 @@ mod tests {
),
(
4,
0,
7,
4,
20,
"import_test.d".to_string(),
Expand All @@ -510,7 +510,7 @@ mod tests {
),
(
5,
0,
7,
5,
20,
"import_test.e".to_string(),
Expand All @@ -528,7 +528,7 @@ mod tests {
),
(
6,
0,
24,
6,
25,
"import_test.f".to_string(),
Expand All @@ -544,7 +544,7 @@ mod tests {
.replace("/", &std::path::MAIN_SEPARATOR.to_string()),
SymbolKind::Package,
),
(7, 0, 7, 10, "pkg".to_string(), SymbolKind::Unresolved),
(7, 7, 7, 10, "pkg".to_string(), SymbolKind::Unresolved),
(
0,
0,
Expand All @@ -555,7 +555,7 @@ mod tests {
.replace("/", &std::path::MAIN_SEPARATOR.to_string()),
SymbolKind::Package,
),
(8, 0, 8, 12, "regex".to_string(), SymbolKind::Unresolved),
(8, 7, 8, 12, "regex".to_string(), SymbolKind::Unresolved),
(
1,
0,
Expand Down

0 comments on commit 77bc38c

Please sign in to comment.