提交 93b9693f 编写于 作者: C Cyrus Najmabadi

Fix tests for loc

上级 492c1d42
......@@ -36,7 +36,7 @@ public async Task TestValueTuple()
{
using var context = TestContext.Create(LanguageNames.CSharp);
await context.GenerateAndVerifySourceAsync("System.ValueTuple",
@"#region Assembly System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
@$"#region {FeaturesResources.Assembly} System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
// System.ValueTuple.dll
#endregion
......@@ -45,9 +45,9 @@ public async Task TestValueTuple()
using System.Collections;
namespace System
{
{{
public struct [|ValueTuple|] : IEquatable<ValueTuple>, IStructuralEquatable, IStructuralComparable, IComparable, IComparable<ValueTuple>, ITupleInternal
{
{{
public static ValueTuple Create();
public static ValueTuple<T1> Create<T1>(T1 item1);
public static (T1, T2) Create<T1, T2>(T1 item1, T2 item2);
......@@ -62,8 +62,8 @@ public struct [|ValueTuple|] : IEquatable<ValueTuple>, IStructuralEquatable, ISt
public bool Equals(ValueTuple other);
public override int GetHashCode();
public override string ToString();
}
}");
}}
}}");
}
}
}
......
......@@ -91,7 +91,7 @@ public async Task TestValueTuple()
{
using var context = TestContext.Create(LanguageNames.VisualBasic);
await context.GenerateAndVerifySourceAsync("System.ValueTuple",
@"#Region ""Assembly System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51""
@$"#Region ""{FeaturesResources.Assembly} System.ValueTuple, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51""
' System.ValueTuple.dll
#End Region
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册