feat: write company, role, fit, verdict, location and posting as note properties
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user