Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kzrnm committed Jan 20, 2025
1 parent 85a84a3 commit 47fc6eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal static Solution CreateOtherReference(Solution solution,
}

internal static ImmutableArray<PackageIdentity> Packages
= ImmutableArray.Create(new PackageIdentity("SourceExpander.Core", "2.6.0"));
= [new PackageIdentity("SourceExpander.Core", "2.6.0")];

public static string EmbedderVersion => typeof(EmbedderGenerator).Assembly.GetName().Version.ToString();
public static readonly LanguageVersion EmbeddedLanguageVersionEnum = LanguageVersion.Preview;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ class Program
{
(typeof(EmbedderGenerator),
"EmbeddedSourceCode.Metadata.cs",
"""
$$"""
// <auto-generated/>
#pragma warning disable
[assembly: global::System.Reflection.AssemblyMetadataAttribute("SourceExpander.EmbedderVersion","8.0.0.100")]
[assembly: global::System.Reflection.AssemblyMetadataAttribute("SourceExpander.EmbeddedLanguageVersion","preview")]
[assembly: global::System.Reflection.AssemblyMetadataAttribute("SourceExpander.EmbedderVersion","{{EmbedderVersion}}")]
[assembly: global::System.Reflection.AssemblyMetadataAttribute("SourceExpander.EmbeddedLanguageVersion","{{EmbeddedLanguageVersion}}")]
[assembly: global::System.Reflection.AssemblyMetadataAttribute("SourceExpander.EmbeddedNamespaces","")]
[assembly: global::System.Reflection.AssemblyMetadataAttribute("SourceExpander.EmbeddedSourceCode","[{\"CodeBody\":\"class Program{public static int Method()=>1+2* *3;}\",\"Dependencies\":[],\"FileName\":\"TestProject>Program.cs\",\"TypeNames\":[\"Program\"],\"Usings\":[]}]")]
Expand Down

0 comments on commit 47fc6eb

Please sign in to comment.