Exemplo n.º 1
0
        public async Task Basic_NuPkgFileNameBasedOnProjectName()
        {
            var expectedNuPkgFileName = string.Format(CultureInfo.InvariantCulture, "{0}.{1}.nupkg", nuproj.GetPropertyValue("Id"), nuproj.GetPropertyValue("Version"));
            var actualNuPkgPath       = await nuproj.GetNuPkgPathAsync();

            Assert.Equal(expectedNuPkgFileName, Path.GetFileName(actualNuPkgPath));
        }