From 846255b30113992ccacdc20190fe558da5bea755 Mon Sep 17 00:00:00 2001 From: Andrey Akinshin Date: Wed, 9 Nov 2016 14:21:59 +0300 Subject: [PATCH] JobTests.Test01Create fix --- tests/BenchmarkDotNet.IntegrationTests/JobTests.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/BenchmarkDotNet.IntegrationTests/JobTests.cs b/tests/BenchmarkDotNet.IntegrationTests/JobTests.cs index 8c97b14dc..15ccd71d1 100644 --- a/tests/BenchmarkDotNet.IntegrationTests/JobTests.cs +++ b/tests/BenchmarkDotNet.IntegrationTests/JobTests.cs @@ -61,8 +61,8 @@ namespace BenchmarkDotNet.IntegrationTests Equal(j.Env.Platform, Platform.AnyCpu); Equal(j.Run.RunStrategy, RunStrategy.Throughput); // set by default Equal(j.Id, "Default"); // id reset - True(j.DisplayInfo.StartsWith("Job-")); - True(j.ResolvedId.StartsWith("Job-")); + True(j.DisplayInfo == "DefaultJob", "DisplayInfo = " + j.DisplayInfo); + True(j.ResolvedId == "DefaultJob", "ResolvedId = " + j.ResolvedId); Equal(j.ResolvedId, j.FolderInfo); Equal(j.Env.Id, "Default"); @@ -75,8 +75,8 @@ namespace BenchmarkDotNet.IntegrationTests Equal(j.Env.Platform, Platform.AnyCpu); Equal(j.Run.RunStrategy, RunStrategy.Throughput); // set by default Equal(j.Id, "Default"); // id reset - True(j.DisplayInfo.StartsWith("Job-")); - True(j.ResolvedId.StartsWith("Job-")); + True(j.DisplayInfo == "DefaultJob", "DisplayInfo = " + j.DisplayInfo); + True(j.ResolvedId == "DefaultJob", "ResolvedId = " + j.ResolvedId); Equal(j.ResolvedId, j.FolderInfo); Equal(j.Env.Id, "Default"); }