Skip to content

Commit

Permalink
Fix vscode test
Browse files Browse the repository at this point in the history
  • Loading branch information
Naatan committed Sep 12, 2023
1 parent cc86c70 commit 49bc64e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/vscode_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,11 @@ func (suite *AuthIntegrationTestSuite) TestAuth_VSCode() {
)
cp.Expect(`"privateProjects":false}`)
cp.ExpectExitCode(0)
suite.Equal(string(expected), strings.TrimSpace(cp.Snapshot()))
suite.Equal(string(expected), strings.TrimSpace(cp.Output()))

cp = ts.Spawn("export", "jwt", "--output", "editor")
cp.ExpectExitCode(0)
suite.Assert().Greater(strings.TrimSpace(cp.Snapshot()), 3, "expected jwt token to be non-empty")
suite.Assert().NotEmpty(strings.TrimSpace(cp.Output()), "expected jwt token to be non-empty")
}

func (suite *PackageIntegrationTestSuite) TestPackages_VSCode() {
Expand Down

0 comments on commit 49bc64e

Please sign in to comment.