Skip to content

Commit

Permalink
more relaxed test for version
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Mar 28, 2021
1 parent 4cb15b6 commit 0b029bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbarapp.com/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func TestPluginMetadata(t *testing.T) {

pluginMetadataPath := filepath.Join(docsFolder, "/plugins/Dev/Tutorial/cycle_text_and_detail.sh.json")
p := loadPluginMetadata(is, pluginMetadataPath)
is.Equal(p.Version, version) // version doesn't match
is.True(p.Version != "") // version doesn't match
is.True(p.LastUpdated != "")

is.Equal(p.Plugin.Path, "Dev/Tutorial/cycle_text_and_detail.sh")
Expand Down

0 comments on commit 0b029bd

Please sign in to comment.