wip
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module git.max-richter.dev/max/marka/validator
|
||||
|
||||
go 1.25.1
|
||||
go 1.24.7
|
||||
|
||||
require (
|
||||
git.max-richter.dev/max/marka/registry v0.0.0-20250819170608-69c2550f448e
|
||||
|
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func TestValidateRecipe_InvalidType(t *testing.T) {
|
||||
recipe := map[string]any{
|
||||
"@type": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"recipeYield": 4,
|
||||
"recipeIngredient": []string{
|
||||
"500 g flour",
|
||||
@@ -24,7 +24,7 @@ func TestValidateRecipe_InvalidType(t *testing.T) {
|
||||
|
||||
func TestValidateRecipe_Valid(t *testing.T) {
|
||||
recipe := map[string]any{
|
||||
"@type": "Recipe",
|
||||
"_type": "Recipe",
|
||||
"name": "Simple Bread",
|
||||
"cookTime": "PT30M",
|
||||
"recipeIngredient": []any{"500 g flour", "300 ml water", "10 g salt", "3 g yeast"},
|
||||
|
Reference in New Issue
Block a user