Skip to content

Commit cd68278

Browse files
author
Sam Byass
committed
Fix CI errors and warnings
1 parent 0721e1e commit cd68278

File tree

6 files changed

+158
-4
lines changed

6 files changed

+158
-4
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ bin/
22
obj/
33
/packages/
44
riderModule.iml
5-
/_ReSharper.Caches/
5+
/_ReSharper.Caches/
6+
.idea/
7+
*.DotSettings.user

Tomlet.Tests/TestResources.Designer.cs

Lines changed: 144 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tomlet.Tests/TestResources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ another = "# This is not a comment"</value>
2727
<value>key = "value"</value>
2828
</data>
2929
<data name="UnspecifiedValueTestInput" xml:space="preserve">
30-
<value>key = # INVALID</value>
30+
<value>key = # INVALID </value>
3131
</data>
3232
<data name="MultiplePairsOnOneLineTestInput" xml:space="preserve">
3333
<value>first = "Tom" last = "Preston-Werner" # INVALID</value>

Tomlet.Tests/Tomlet.Tests.csproj

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@
3030
<Compile Update="TestResources.Designer.cs">
3131
<DesignTime>True</DesignTime>
3232
<AutoGen>True</AutoGen>
33-
<DependentUpon>Resources.resx</DependentUpon>
33+
<DependentUpon>TestResources.resx</DependentUpon>
34+
</Compile>
35+
<Compile Update="TestResources.Designer.cs">
36+
<AutoGen>True</AutoGen>
37+
<DependentUpon>TestResources.resx</DependentUpon>
38+
<DesignTime>True</DesignTime>
3439
</Compile>
3540
</ItemGroup>
3641

Tomlet.sln.DotSettings

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2+
<s:Boolean x:Key="/Default/UserDictionary/Words/=Toml/@EntryIndexedValue">True</s:Boolean>
3+
<s:Boolean x:Key="/Default/UserDictionary/Words/=Tomlet/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>

Tomlet/Models/TomlLong.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ public TomlLong(long value)
1515
long.TryParse(valueInToml, TomlNumberStyle.INTEGER, NumberFormatInfo.InvariantInfo, out var val) ? new TomlLong(val) : null;
1616

1717
public long Value => _value;
18-
public override string StringValue { get; }
18+
public override string StringValue => Value.ToString();
1919
}
2020
}

0 commit comments

Comments
 (0)