Fixed (#841)

This is a fix for #841 and supporting test.
Oh dear. @khellang can you help? I'm on the road now. No computer until
Monday!
On 13 Nov 2014 16:34, "Mads Tjørnelund Toustrup" <notifications@github.com>
wrote:

> In test/ScriptCs.Core.Tests/PackageReferenceTests.cs:
>
> > @@ -30,6 +35,26 @@ public void WhenStringVersionHasSpecialValueVersionShouldBeEqualToNormalAndSpeci
> >                  p.Version.ShouldEqual(new Version("1.0.1"));
> >                  p.SpecialVersion.ShouldEqual("alpha");
> >              }
> > +
> > +            ///<summary>
> > +            /// Should provide correct version and special version, given 0.5.0-beta-2
> > +            ///</summary>
> > +            [Theory]
> > +            [AutoData]
> > +            public void MustHandleAllSortsOfDifferentSpecialVersions(string specialVersion)
>
> Should have waited for the reply from @khellang
> <https://github.com/khellang>, got lost in woods of branches, and screwed
> it up. Can you guys make any sense of it?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/scriptcs/scriptcs/pull/853/files#r20298373>.
>