Skip to content

Commit

Permalink
test: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ja-he committed Dec 4, 2023
1 parent e476d38 commit 796ced6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions internal/model/model_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func TestSumUpByCategory(t *testing.T) {
}
expected := map[Category]int{
{
Name: "",
Name: "eating",
Priority: 0,
Goal: nil,
Deprecated: false,
Expand All @@ -251,7 +251,7 @@ func TestSumUpByCategory(t *testing.T) {
}
expected := map[Category]int{
{
Name: "",
Name: "eating",
Priority: 0,
Goal: nil,
Deprecated: false,
Expand All @@ -272,13 +272,13 @@ func TestSumUpByCategory(t *testing.T) {
}
expected := map[Category]int{
{
Name: "",
Name: "eating",
Priority: 0,
Goal: nil,
Deprecated: false,
}: 80,
{
Name: "",
Name: "cooking",
Priority: 0,
Goal: nil,
Deprecated: false,
Expand All @@ -298,7 +298,7 @@ func TestSumUpByCategory(t *testing.T) {
}
expected := map[Category]int{
{
Name: "",
Name: "a",
Priority: 0,
Goal: nil,
Deprecated: false,
Expand All @@ -318,7 +318,7 @@ func TestSumUpByCategory(t *testing.T) {
}
expected := map[Category]int{
{
Name: "",
Name: "a",
Priority: 0,
Goal: nil,
Deprecated: false,
Expand Down

0 comments on commit 796ced6

Please sign in to comment.