Fix failing shortcode tests on Travis
authorbep <bjorn.erik.pedersen@gmail.com>
Tue, 18 Nov 2014 09:20:52 +0000 (10:20 +0100)
committerspf13 <steve.francia@gmail.com>
Tue, 18 Nov 2014 15:14:12 +0000 (10:14 -0500)
commita6a9df395566f53a1b3aecbf65a2067ec0ea1b12
treef749dfac4571a7b5b66a8c2dceff08fee8bc50ab
parent596d67938668126d49cde7b00dc9f345f0f5032e
Fix failing shortcode tests on Travis

Some newly added shortcode tests compared maps in assertions.

This failed on Travis, as iteration order isn't guaranteed for maps since Go 1.

This commit fixes that by do a sort of the keys in the shortcode String() function.
hugolib/shortcode.go
hugolib/shortcode_test.go