Beispiel #1
0
        public void MetadataSinglePairAddsAndOverwrites()
        {
            var project = new MetalsharpProject();

            project.Meta("key", "value1");
            Assert.True(project.Metadata.ContainsKey("key"));
            Assert.True(project.Metadata["key"].ToString() == "value1");

            project.Meta("key", "value2");
            Assert.True(project.Metadata["key"].ToString() == "value2");
        }
Beispiel #2
0
 public void Execute(MetalsharpProject project) =>
 project.Meta("test", true);