Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

ftest/generator: test for missing next-profile #73

Merged
merged 1 commit into from
Jun 19, 2017

Conversation

lucab
Copy link
Contributor

@lucab lucab commented Jun 16, 2017

This a positive ftest covering the issue fixed in #72.

/cc @squeed @dm0-

@lucab lucab requested review from squeed and dm0- June 16, 2017 13:45
Copy link
Contributor

@dm0- dm0- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some non-functionality-affecting changes, but LGTM

imgRef := profManifest.Value.Images[0].Reference
expName := "empty_vendor"
expRef := "com.coreos.cl"
if imgName != "empty_vendor" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it intentional to define the expected value above and not use it?

expName := "empty_vendor"
expRef := "com.coreos.cl"
if imgName != "empty_vendor" {
t.Errorf("Expected image name %q, got %q", expName, imgLen)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think imgLen should be imgName here.

@lucab lucab force-pushed the ups/ftest-generator-vendor branch from 886eb49 to 4663c02 Compare June 19, 2017 10:10
@lucab lucab merged commit 4cebb8d into coreos:master Jun 19, 2017
@lucab lucab deleted the ups/ftest-generator-vendor branch August 4, 2017 08:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants