Skip to content

Commit

Permalink
fix np
Browse files Browse the repository at this point in the history
Signed-off-by: Ziwen Ning <ningziwe@amazon.com>
  • Loading branch information
ningziwen committed Dec 24, 2022
1 parent d5cb58b commit 9f5aae3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ var testConfig = func(o *option.Option, installed bool) {
var limaCfg limayaml.LimaYAML
err = yaml.Unmarshal(cfgBuf, &limaCfg)
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
gomega.Expect(limaCfg.CPUs != nil).Should(gomega.BeTrue())
gomega.Expect(limaCfg.CPUs).Should(gomega.BeNil())
gomega.Expect(*limaCfg.Memory).Should(gomega.Equal("6GiB"))
})

Expand All @@ -123,7 +123,7 @@ var testConfig = func(o *option.Option, installed bool) {
var limaCfg limayaml.LimaYAML
err = yaml.Unmarshal(cfgBuf, &limaCfg)
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
gomega.Expect(limaCfg.CPUs != nil).Should(gomega.BeTrue())
gomega.Expect(limaCfg.CPUs).Should(gomega.BeNil())
gomega.Expect(*limaCfg.Memory).Should(gomega.MatchRegexp(`\dGiB`))
})

Expand Down

0 comments on commit 9f5aae3

Please sign in to comment.