feat: write company, role, fit, verdict, location and posting as note properties

This commit is contained in:
2026-11-25 09:49:53 +01:00
parent 2218eb273b
commit cc7bb4212e
3 changed files with 23 additions and 4 deletions
+7
View File
@@ -332,3 +332,10 @@ func TestParsePackageMalformedAnswer(t *testing.T) {
t.Errorf("the error should quote the answer near the fault, got %v", err)
}
}
func TestYAMLString(t *testing.T) {
// A hostile or just odd title must stay one quoted scalar in the frontmatter.
if got, want := yamlString("Engineer: \"Core\"\n---\nfit: 100"), `"Engineer: \"Core\" --- fit: 100"`; got != want {
t.Errorf("yamlString = %s, want %s", got, want)
}
}