File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed
Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 77
88# Test binary, built with `go test -c`
99* .test
10+ * .xml
1011
1112# Output of the go coverage tool, specifically when used with LiteIDE
1213* .out
1617
1718# IDE
1819.idea
19- .vscode
20+ .vscode
Original file line number Diff line number Diff line change 1+ package swift
2+
3+ func Validate (bik string ) (bool , error ) {
4+ panic ("not implmented!" )
5+ }
6+
7+ func Generate () string {
8+ panic ("not implemented!" )
9+ }
Original file line number Diff line number Diff line change 1+ package swift
2+
3+ import (
4+ "testing"
5+
6+ "github.com/stretchr/testify/require"
7+ )
8+
9+ func Test_Validete (t * testing.T ) {
10+ require .Panics (t , func () {
11+ Validate ("" )
12+ })
13+ }
14+
15+ func Test_Generate (t * testing.T ) {
16+ require .Panics (t , func () {
17+ Generate ()
18+ })
19+ }
You can’t perform that action at this time.
0 commit comments