Skip to content

Commit 8f4fe4d

Browse files
authored
Merge pull request #102 from aarondandy/six
The 6.0 release
2 parents dd9ddfb + e3e33f6 commit 8f4fe4d

File tree

71 files changed

+2993
-1525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+2993
-1525
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dotnet_naming_symbols.private_static_fields.required_modifiers = static
7272
dotnet_naming_symbols.private_static_fields.applicable_accessibilities = private, internal, private_protected
7373

7474
# internal and private fields should be _camelCase
75-
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion
75+
dotnet_naming_rule.camel_case_for_private_internal_fields.severity = silent
7676
dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields
7777
dotnet_naming_rule.camel_case_for_private_internal_fields.style = camel_case_underscore_style
7878
dotnet_naming_symbols.private_internal_fields.applicable_kinds = field

WeCantSpell.Hunspell.Benchmarks.NHunspell/WeCantSpell.Hunspell.Benchmarks.NHunspell.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
<ItemGroup>
1515
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
1616
<PackageReference Include="NHunspell" Version="1.2.5554.16953" GeneratePathProperty="true" />
17-
<PackageReference Include="System.Collections.Immutable" Version="9.0.1" />
1817
</ItemGroup>
1918

2019
<Target Name="CopyNHunspellBinaries" BeforeTargets="BeforeBuild">

WeCantSpell.Hunspell.Benchmarks/WeCantSpell.Hunspell.Benchmarks.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
<ItemGroup>
1010
<PackageReference Include="BenchmarkDotNet" Version="0.14.0" />
11-
<PackageReference Include="System.Collections.Immutable" Version="9.0.1" />
1211
</ItemGroup>
1312

1413
<ItemGroup>

WeCantSpell.Hunspell.Tests/AffixReaderTests.cs

Lines changed: 103 additions & 104 deletions
Large diffs are not rendered by default.

WeCantSpell.Hunspell.Tests/ArrayBuilderTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public void can_retrieve_values_from_index()
9191
{
9292
var sut = new ArrayBuilder<char> { 'a', 'b', 'c' };
9393

94-
sut.ToArray().ShouldBe(['a', 'b', 'c']);
94+
Enumerable.ToArray(sut).ShouldBe(['a', 'b', 'c']);
9595
}
9696

9797
[Fact]
@@ -109,7 +109,7 @@ public void can_mutate_value()
109109
var sut = new ArrayBuilder<char> { 'a', 'b', 'c' };
110110
sut[1] = 'x';
111111

112-
sut.ToArray().ShouldBe(['a', 'x', 'c']);
112+
Enumerable.ToArray(sut).ShouldBe(['a', 'x', 'c']);
113113
}
114114
}
115115
}

WeCantSpell.Hunspell.Tests/HunspellTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class SimpleTests : HunspellTests
2929
[InlineData("-")]
3030
public void cant_find_words_in_empty_dictioanry(string word)
3131
{
32-
var dictionary = new WordList.Builder().ToImmutable();
32+
var dictionary = new WordList.Builder().Build();
3333

3434
var actual = dictionary.Check(word, TestCancellation);
3535

@@ -49,7 +49,7 @@ public void can_find_words_in_single_word_dictioanry(string searchWord, string d
4949
dictionaryBuilder.InitializeEntriesByRoot(1);
5050
dictionaryBuilder.Add(dictionaryWord, WordEntryDetail.Default);
5151

52-
var dictionary = dictionaryBuilder.ToImmutable();
52+
var dictionary = dictionaryBuilder.Build();
5353

5454
var actual = dictionary.Check(searchWord, TestCancellation);
5555

0 commit comments

Comments
 (0)