Skip to content

Commit

Permalink
corrected file positions to match other tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joecrop committed Jan 8, 2024
1 parent 4714086 commit 5badfeb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/ModuleInstantiator.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ suite('ModuleInstantiator Tests', () => {
uri = vscode.Uri.file(path.join(__dirname, testFolderLocation, 'test-files', 'ModuleInstantiator.test.2.v'));
document = await vscode.workspace.openTextDocument(uri);

fullRange = new vscode.Range(new vscode.Position(152, 0), new vscode.Position(164, 0));
fullRange = new vscode.Range(new vscode.Position(151, 0), new vscode.Position(163, 0));

let instance = document.getText(fullRange);

Expand Down
2 changes: 2 additions & 0 deletions src/test/test-files/ModuleInstantiator.test.1.v
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ endmodule
// ---------------------------------------------------------------
// -- Example of ports with unpacked dimensions and brackets
// ---------------------------------------------------------------

module arrer (
input clk,
input reset,
Expand Down Expand Up @@ -325,6 +326,7 @@ endmodule
// ---------------------------------------------------------------
// -- Example of parameters with brackets
// ---------------------------------------------------------------

module azzer #(parameter SIZE = (2*1)+1,
parameter SIZE_TWO = 2*(1+1)) (
input clk,
Expand Down

0 comments on commit 5badfeb

Please sign in to comment.