Files
mgmt/lang/interpret_test/TestAstFunc1/duplicate_resource.graph
James Shubin 22105af720 lang: test: Add a test of duplicate resource generation
These two cases should be allowed in our language. This is something
that puppet got wrong, and hopefully this makes writing modules more
sane in mcl, since two modules both depending on a "cowsay" package
won't cause compile errors.

This only checks the language. The de-duplication is done there. We
don't currently have a check for this in the engine. (We should!)
2018-12-28 18:44:07 -05:00

11 lines
283 B
Plaintext

Edge: str(hello world) -> call:fmt.printf(str(hello world)) # a
Vertex: call:fmt.printf(str(hello world))
Vertex: str(/tmp/foo)
Vertex: str(/tmp/foo)
Vertex: str(cowsay)
Vertex: str(cowsay)
Vertex: str(hello world)
Vertex: str(hello world)
Vertex: str(installed)
Vertex: str(newest)