Skip to content

Commit

Permalink
arkavo
Browse files Browse the repository at this point in the history
  • Loading branch information
arkavo-com committed Feb 17, 2024
1 parent cec879c commit 7436d9f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 19 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: 1.22
# Build a linux application
- name: Build Go application
# Build optimized - from Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.3
0.2.0
16 changes: 0 additions & 16 deletions makefile

This file was deleted.

4 changes: 2 additions & 2 deletions pkg/tdf3/policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
)

func TestDeserializingAttributes(t *testing.T) {
serializedAttr := `{ "attribute": "https://the.authority.example.com/suborg/attr/the%2Fattribute/val/a%20value" }`
serializedAttr := `{ "attribute": "https://the.authority.example.com/attr/the%2Fattribute/value/a%20value" }`
var attr Attribute
err := json.Unmarshal([]byte(serializedAttr), &attr)
if err != nil {
t.Fatalf("Error unmarshaling: %v", err)
}

if attr.Authority != "https://the.authority.example.com/suborg" {
if attr.Authority != "https://the.authority.example.com" {
t.Fatalf("Got [%s] for authority, wanted [%s]", attr.Authority, "https://the.authority.example.com/suborg")
}
if attr.Name != "the/attribute" {
Expand Down

0 comments on commit 7436d9f

Please sign in to comment.