HomePhorge

maint: Fix pkg_spec test
61e7d3cb3ad4Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

maint: Fix pkg_spec test

The pkg_spec test meant to compare different hashes that were created
like

Hash.new(:key1 => val1, :key2 => val2)

At least on ruby 1.9 this will always return an empty hash so the spec
tests didn't test correctness at all.

The fix uses just {:key1 => val1, :key2 => val2} to create the different
hashes so the comparsion does make sense again.

Event Timeline

Stefan Schulte <stefan.schulte@taunusstein.net> committed rPU61e7d3cb3ad4: maint: Fix pkg_spec test (authored by Stefan Schulte <stefan.schulte@taunusstein.net>).Apr 25 2012, 11:11 PM