bring examples so tests pass.

This commit is contained in:
fiatjaf
2023-09-18 16:31:05 -03:00
parent 0b433cd95a
commit 5afda80c1a
23 changed files with 19 additions and 5 deletions

View File

@@ -11,7 +11,7 @@ import (
)
func examplePaths() []string {
matches, err := filepath.Glob("../examples/*ots")
matches, err := filepath.Glob("./examples/*ots")
if err != nil {
panic(err)
}
@@ -31,7 +31,7 @@ func containsUnknownAttestation(ts *Timestamp) (res bool) {
func TestDecodeHelloWorld(t *testing.T) {
dts, err := NewDetachedTimestampFromPath(
"../examples/hello-world.txt.ots",
"./examples/hello-world.txt.ots",
)
assert.NoError(t, err)