-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More Refactor disconnect, package body and package declaration
- Loading branch information
1 parent
7416d11
commit ab2bee2
Showing
5 changed files
with
170 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
// You can obtain one at http://mozilla.org/MPL/2.0/. | ||
// | ||
// Copyright (c) 2023, Olof Kraigher [email protected] | ||
use crate::analysis::tests::{check_diagnostics, LibraryBuilder}; | ||
use crate::analysis::tests::{check_diagnostics, check_no_diagnostics, LibraryBuilder}; | ||
use crate::data::error_codes::ErrorCode; | ||
use crate::Diagnostic; | ||
|
||
|
@@ -116,7 +116,7 @@ begin | |
end arch; | ||
", | ||
); | ||
check_diagnostics(builder.analyze(), vec![]) | ||
check_no_diagnostics(&builder.analyze()) | ||
} | ||
|
||
#[test] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.