Skip to content

Commit 1330df9

Browse files
authored
Merge pull request #117 from leakingtapan/fix-readme
Update README for sanity test using Ginkgo.
2 parents b36d955 + b294f5f commit 1330df9

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ cmd/csi-sanity/csi-sanity
1414

1515
# JetBrains GoLand
1616
.idea
17+
18+
# Vim
19+
*.swp

pkg/sanity/README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ var _ = Describe("MyCSIDriver", func () {
3939
Context("Config A", func () {
4040
var config &sanity.Config
4141

42-
BeforeEach() {
43-
... setup driver and config...
44-
}
42+
BeforeEach(func() {
43+
//... setup driver and config...
44+
})
4545

46-
AfterEach() {
47-
...tear down driver...
48-
}
46+
AfterEach(func() {
47+
//...tear down driver...
48+
})
4949

5050
Describe("CSI sanity", func() {
5151
sanity.GinkgoTest(config)
5252
})
5353
})
5454

5555
Context("Config B", func () {
56-
...
56+
// other configs
5757
})
5858
})
5959
```

0 commit comments

Comments
 (0)