Skip to content

Commit 1bfc062

Browse files
committed
Missing fuzzy_transpositions support in MatchQuery #1333 - formatting issue
1 parent d95df6d commit 1bfc062

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/Tests/Nest.Tests.Unit/Search/Query/Singles/MatchQueryJson.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public void MatchQuery()
3535
}
3636
}
3737
}";
38+
3839
Assert.True(json.JsonEquals(expected), json);
3940
}
4041

@@ -66,6 +67,7 @@ public void MatchPhraseQuery()
6667
}
6768
}
6869
}";
70+
6971
Assert.True(json.JsonEquals(expected), json);
7072
}
7173

@@ -79,7 +81,6 @@ public void MatchQuerySomeOptions()
7981
.Match(t => t
8082
.OnField(f => f.Name)
8183
.Query("this is a test")
82-
8384
.Fuzziness(1.0)
8485
.Analyzer("my_analyzer")
8586
.CutoffFrequency(0.3)
@@ -103,8 +104,10 @@ public void MatchQuerySomeOptions()
103104
}
104105
}
105106
}";
107+
106108
Assert.True(json.JsonEquals(expected), json);
107109
}
110+
108111
[Test]
109112
public void MatchQueryFuzzyTranspositions()
110113
{
@@ -140,6 +143,7 @@ public void MatchQueryFuzzyTranspositions()
140143
}
141144
}
142145
}";
146+
143147
Assert.True(json.JsonEquals(expected), json);
144148
}
145149
}

0 commit comments

Comments
 (0)