Skip to content

Commit

Permalink
Updated wording on the test status bar item
Browse files Browse the repository at this point in the history
  • Loading branch information
ramya-rao-a authored Feb 26, 2017
1 parent e40b400 commit 9a26308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/goCheck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,15 @@ export function check(filename: string, goConfig: vscode.WorkspaceConfiguration)

if (!!goConfig['testOnSave']) {
statusBarItem.show();
statusBarItem.text = 'testing';
statusBarItem.text = 'Tests Running';
runTest().then(success => {
if (statusBarItem.text === '') {
return;
}
if (success) {
statusBarItem.text = 'OK :-)';
statusBarItem.text = 'Tests Passed';
} else {
statusBarItem.text = 'FAIL :-(';
statusBarItem.text = 'Tests Failed';
}
});
}
Expand Down

0 comments on commit 9a26308

Please sign in to comment.