You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
# To avoid "failed to load YAML file \"templates/experimental/riscv64.yaml\": can't parse builtin Lima version \"3f3a6f6\": 3f3a6f6 is not in dotted-tri format"
name: "minimumLimaVersion greater than current version",
39
39
currentVersion: "1.1.1-114-g5bf5e513",
40
40
minimumLimaVersion: "1.1.2",
41
-
wantErr: `template requires Lima version "1.1.2"; this is only "1.1.1"`,
41
+
wantErr: `template requires Lima version "1.1.2"; this is only "1.1.1-114-g5bf5e513"`,
42
42
},
43
43
{
44
44
name: "invalid current version",
45
45
currentVersion: "<unknown>",
46
46
minimumLimaVersion: "0.8.0",
47
-
wantErr: `can't parse builtin Lima version "<unknown>": <unknown> is not in dotted-tri format`,
47
+
wantErr: "", // Unparsable versions are treated as "latest"
48
48
},
49
49
{
50
50
name: "invalid minimumLimaVersion",
51
51
currentVersion: "1.1.1-114-g5bf5e513",
52
52
minimumLimaVersion: "invalid",
53
-
wantErr: "field `minimumLimaVersion` must be a semvar value, got \"invalid\": invalid is not in dotted-tri format\ntemplate requires Lima version \"invalid\"; this is only \"1.1.1\"",
53
+
wantErr: "field `minimumLimaVersion` must be a semvar value, got \"invalid\": invalid is not in dotted-tri format", // Only parse error, no comparison error
0 commit comments