Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Consistent messaging when function not found at cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a committed Mar 30, 2017
1 parent 7c5ed2e commit 131e7a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/goGenerateTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export function generateTestCurrentFunction(): Thenable<boolean> {
}
};
if (!currentFunction) {
vscode.window.setStatusBarMessage('No function found at cursor.', 5000);
vscode.window.showInformationMessage('No function found at cursor.');
return;
}
let funcName = currentFunction.name;
Expand Down
2 changes: 1 addition & 1 deletion src/goTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export function testAtCursor(goConfig: vscode.WorkspaceConfiguration, args: any)
}
};
if (!testFunction) {
vscode.window.setStatusBarMessage('No test function found at cursor.', 5000);
vscode.window.showInformationMessage('No test function found at cursor.');
return;
}
return goTest({
Expand Down

0 comments on commit 131e7a3

Please sign in to comment.