You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/lsp-server/tests/actions.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ mod utils;
8
8
// The high-level methodology for code/intent actions test cases is:
9
9
// - Read the source code of an ink! entity file in the `test-fixtures` directory (e.g https://github.com/ink-analyzer/ink-analyzer/blob/master/test-fixtures/contracts/erc20.rs).
10
10
// - (Optionally) Make some modifications to the source code at a specific offset/text range to create a specific test case.
11
-
// - Send the the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
11
+
// - Send the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
12
12
// - Send an LSP code action request from client to server for the test case.
13
13
// - Retrieve the LSP code action response sent from the server to the client.
14
14
// - Verify that the code action response results match the expected results.
Copy file name to clipboardExpand all lines: crates/lsp-server/tests/completions.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ mod utils;
8
8
// The high-level methodology for completions test cases is:
9
9
// - Read the source code of an ink! entity file in the `test-fixtures` directory (e.g https://github.com/ink-analyzer/ink-analyzer/blob/master/test-fixtures/contracts/erc20.rs).
10
10
// - (Optionally) Make some modifications to the source code at a specific offset/text range to create a specific test case.
11
-
// - Send the the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
11
+
// - Send the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
12
12
// - Send an LSP completion request from client to server for the test case.
13
13
// - Retrieve the LSP completion response sent from the server to the client.
14
14
// - Verify that the completion response results match the expected results.
Copy file name to clipboardExpand all lines: crates/lsp-server/tests/diagnostics.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ mod utils;
7
7
// The high-level methodology for diagnostics test cases is:
8
8
// - Read the source code of an ink! entity file in the `test-fixtures` directory (e.g https://github.com/ink-analyzer/ink-analyzer/blob/master/test-fixtures/contracts/erc20.rs).
9
9
// - (Optionally) Make modifications to the source code at specific offsets/text ranges to create a specific test case.
10
-
// - Send the the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
10
+
// - Send the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
11
11
// - Retrieve the `PublishDiagnostics` notification that's sent from the server to the client when the server receives a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
12
12
// - Verify that the diagnostics in the `PublishDiagnostics` notification match the expected results.
Copy file name to clipboardExpand all lines: crates/lsp-server/tests/hover.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ mod utils;
8
8
// The high-level methodology for hover content test cases is:
9
9
// - Read the source code of an ink! entity file in the `test-fixtures` directory (e.g https://github.com/ink-analyzer/ink-analyzer/blob/master/test-fixtures/contracts/erc20.rs).
10
10
// - (Optionally) Make some modifications to the source code at a specific offset/text range to create a specific test case.
11
-
// - Send the the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
11
+
// - Send the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
12
12
// - Send an LSP hover request from client to server for the test case.
13
13
// - Retrieve the LSP hover response sent from the server to the client.
14
14
// - Verify that the hover response results match the expected results.
Copy file name to clipboardExpand all lines: crates/lsp-server/tests/inlay_hints.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ mod utils;
8
8
// The high-level methodology for inlay hints test cases is:
9
9
// - Read the source code of an ink! entity file in the `test-fixtures` directory (e.g https://github.com/ink-analyzer/ink-analyzer/blob/master/test-fixtures/contracts/erc20.rs).
10
10
// - (Optionally) Make some modifications to the source code at a specific offset/text range to create a specific test case.
11
-
// - Send the the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
11
+
// - Send the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
12
12
// - Send an LSP inlay hints request from client to server for the test case.
13
13
// - Retrieve the LSP inlay hints response sent from the server to the client.
14
14
// - Verify that the inlay hints response results match the expected results.
Copy file name to clipboardExpand all lines: crates/lsp-server/tests/signature_help.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ mod utils;
8
8
// The high-level methodology for signature help test cases is:
9
9
// - Read the source code of an ink! entity file in the `test-fixtures` directory (e.g https://github.com/ink-analyzer/ink-analyzer/blob/master/test-fixtures/contracts/erc20.rs).
10
10
// - (Optionally) Make some modifications to the source code at a specific offset/text range to create a specific test case.
11
-
// - Send the the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
11
+
// - Send the modified source code from client to server via a `DidOpenTextDocument` or `DidChangeTextDocument` LSP notification.
12
12
// - Send an LSP signature help request from client to server for the test case.
13
13
// - Retrieve the LSP signature help response sent from the server to the client.
14
14
// - Verify that the signature help response results match the expected results.
0 commit comments