mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 02:44:59 +00:00
off-by-v error in spelling of versions
This commit is contained in:
parent
9460bc9ee4
commit
a5dda0cb1c
1 changed files with 4 additions and 2 deletions
|
|
@ -93,8 +93,10 @@ func TestFeaturebaseVersion(t *testing.T) {
|
|||
if expectedTag != "" {
|
||||
// if a tag is set, we're in a tagged pipeline, and the version
|
||||
// should just be vX.Y or something similar, without a commit
|
||||
// hash.
|
||||
if v != expectedTag {
|
||||
// hash. in that case, the tag passed to us from the environment
|
||||
// will look like vX.Y, but the version reported by the version
|
||||
// endpoint is just X.Y. Argh.
|
||||
if v != expectedTag && ("v"+v) != expectedTag {
|
||||
t.Fatalf("version %s does not match expected tag %s", v, expectedTag)
|
||||
}
|
||||
t.Logf("featurebase version %q matches expectations", expectedTag)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue