mikelangelo-project / capstan

Capstan, a tool for packaging and running your application on OSv.
http://osv.io/capstan/
Other
19 stars 7 forks source link

Update unit tests to handle quoted timestamps #103

Closed wkozaczuk closed 6 years ago

wkozaczuk commented 6 years ago

The yaml.v2 library apparently changed at some point to start quoting string values when marshaling to YAML if their value was found to be an RFC3339 timestamp.

This change makes package YAML files produced by capstan to contain quoted 'created' field and break some unit tests.

To that extent this patch updates unit tests to handle both quoted and unquoted timestamps.

Signed-off-by: Waldemar Kozaczuk jwkozaczuk@gmail.com

miha-plesko commented 6 years ago

Thanks @wkozaczuk, it's great to see Travis green again!