Skip to content

Commit 8ec46bc

Browse files
committed
init
0 parents  commit 8ec46bc

File tree

4 files changed

+23
-0
lines changed

4 files changed

+23
-0
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# jake_golib
2+
3+
Just a library for testing Dependabot stuff.

go.mod

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/dsp-testing/jake-golib
2+
3+
go 1.22.0

lib.go

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package jake_golib
2+
3+
func Add(a, b int) int {
4+
return a + b
5+
}

lib_test.go

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package jake_golib_test
2+
3+
import (
4+
jake_golib "github.com/dsp-testing/jake-golib"
5+
"testing"
6+
)
7+
8+
func TestAdd(t *testing.T) {
9+
if jake_golib.Add(1, 2) != 3 {
10+
t.Fail()
11+
}
12+
}

0 commit comments

Comments
 (0)