Skip to content

Commit 2670be5

Browse files
authored
Fix compile error related to verbatim strings and interpolation (#200)
1 parent c6035dc commit 2670be5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Hangfire.PostgreSql.Tests/PostgreSqlWriteOnlyTransactionFacts.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ void CommitTags(PostgreSqlWriteOnlyTransaction transaction, IEnumerable<string>
506506
UseConnection(sql =>
507507
{
508508
var jobsCountUnderMySharedTag = sql.Query<int>(
509-
@$"select count(*)
509+
$@"select count(*)
510510
from ""{GetSchemaName()}"".set
511511
where key like 'tags:my-shared-tag'").Single();
512512
Assert.Equal(loopIterations, jobsCountUnderMySharedTag);
@@ -521,7 +521,7 @@ void CommitTags(PostgreSqlWriteOnlyTransaction transaction, IEnumerable<string>
521521
Assert.All(jobsCountsUnderJobTypeTags, count => Assert.Equal(loopIterations / jobGroups, count));
522522

523523
var jobLinkTagsCount = sql.Query<int>(
524-
@$"select count(*) from ""{GetSchemaName()}"".set
524+
$@"select count(*) from ""{GetSchemaName()}"".set
525525
where value ~ '^\d+$'").Single();
526526

527527
Assert.Equal(loopIterations * totalTagsCount, jobLinkTagsCount);

0 commit comments

Comments
 (0)