#@ load("@ytt:assert", "assert")
#@ load("@ytt:json", "json")

#@ def yamlFunc():
foo: bar
#@ end

test_equals: #@ assert.equals({"map":"value"}, yamlFunc())

+++

ERR: 
- assert.equals: Not equal:
    in <toplevel>
      stdin:8 | test_equals: #@ assert.equals({"map":"value"}, yamlFunc())

    reason:
     (expected type: dict)
     map: value
     
     
     (was type: yamlfragment)
     foo: bar
