コード例 #1
0
        public void ArgsShouldBeReportedInInvariantCulture()
        {
            var dateTime = new DateTime(2000, 5, 22, 13, 43, 21);
            var result   = CombinationApprovals.GetApprovalString(d => "test", Enumerable.Repeat(dateTime, 1));

            Assert.That(result, Is.StringContaining(dateTime.ToString(CultureInfo.InvariantCulture)));
        }