Skip to content

Commit

Permalink
feat: test
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Mar 8, 2022
1 parent 0185d3a commit 34669ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/melt/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ func TestMaybeFile(t *testing.T) {
is := is.New(t)
is.Equal("strings", maybeFile("strings"))
})

t.Run("stdin", func(t *testing.T) {
is := is.New(t)
is.Equal("", maybeFile("-"))
})
}

func sha256sum(tb testing.TB, path string) string {
Expand Down
5 changes: 5 additions & 0 deletions melt_test.go
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
package melt

import "testing"

func TestToMnemonic(t *testing.T) {
}

0 comments on commit 34669ef

Please sign in to comment.