Sorry, forgot the output:
On s390x:
390x:~$ go build example.go
ubuntu@s390x:~$ ./example 
2020/06/16 19:02:53 error: yaml: unmarshal errors:
  line 4: cannot unmarshal !!float `1.0` into int


On amd64:
andreas@nsnx:~$ go build example.go
andreas@nsnx:~$ ./example 
--- t:
{Easy! {1 [3 4]}}

--- t dump:
a: Easy!
b:
  c: 1
  d: [3, 4]


--- m:
map[a:Easy! b:map[c:1 d:[3 4]]]

--- m dump:
a: Easy!
b:
  c: 1
  d:
  - 3
  - 4

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1883770

Title:
  Tests fail on s390x and go >= 1.13

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/golang-yaml.v2/+bug/1883770/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to