コード例 #1
0
		public void is_update_for_dependency_negative()
		{
			var nuget = new RemoteNuget("Bottles", "1.0.0.0", "test", null);
			nuget.IsUpdateFor(new Dependency("Bottles", "1.0.0.1")).ShouldBeFalse();
		}
コード例 #2
0
        public void get_file_name_with_special_version()
        {
            var nuget = new RemoteNuget("FubuMVC.Core", "1.0.0.1442-alpha", "http://something", null);

            nuget.Filename.ShouldEqual("FubuMVC.Core.1.0.0.1442-alpha.nupkg");
        }