Esempio n. 1
0
        public void environment_pattern_matches_environment_targetted_script()
        {
            var pattern = FilePattern.ForEnvironment("yaks");

            Assert.That("somescript.yaks.sql".Matches(pattern));
            Assert.That("somescript.geese.sql".Matches(pattern), Is.False);
        }
Esempio n. 2
0
        public void environment_pattern_does_not_match_no_environment_script()
        {
            var pattern = FilePattern.ForEnvironment("cheese");

            Assert.That("somescript.sql".Matches(pattern), Is.False);
        }