File tree Expand file tree Collapse file tree 14 files changed +16
-16
lines changed
Microsoft.Extensions.Configuration/Json5 Expand file tree Collapse file tree 14 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace Json5.Tests.Parse;
9
9
using System . Text . Json . Nodes ;
10
10
11
11
using static FluentAssertions . FluentActions ;
12
- using static Json5 . Json5Parser ;
12
+ using static Json5 . JSON5 ;
13
13
14
14
public class Arrays {
15
15
[ Fact ] void Empty ( ) => Parse ( "[]" ) . Should ( ) . Be ( Array . Empty < object > ( ) ) ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ namespace Json5.Tests.Parse;
6
6
7
7
using Helpers ;
8
8
9
- using static Json5 . Json5Parser ;
9
+ using static Json5 . JSON5 ;
10
10
11
11
public class Bools {
12
12
[ Fact ] void True ( ) => Parse ( "true" ) . Should ( ) . Be ( true ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace Json5.Tests.Parse;
7
7
using Helpers ;
8
8
9
9
using static FluentAssertions . FluentActions ;
10
- using static Json5 . Json5Parser ;
10
+ using static Json5 . JSON5 ;
11
11
12
12
public static class Comments {
13
13
public class SingleLine {
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace Json5.Tests.Parse;
10
10
using System . Text . Json . Serialization ;
11
11
12
12
using static FluentAssertions . FluentActions ;
13
- using static Json5 . Json5Parser ;
13
+ using static Json5 . JSON5 ;
14
14
15
15
public class Floats {
16
16
// required to deserialize "Infinity" and "NaN"
Original file line number Diff line number Diff line change 9
9
using System . Text . Json . Serialization ;
10
10
11
11
using static FluentAssertions . FluentActions ;
12
- using static Json5 . Json5Parser ;
12
+ using static Json5 . JSON5 ;
13
13
14
14
public class General {
15
15
// required to deserialize "Infinity" and "NaN"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ namespace Json5.Tests.Parse;
10
10
using System . Text . Json ;
11
11
12
12
using static FluentAssertions . FluentActions ;
13
- using static Json5 . Json5Parser ;
13
+ using static Json5 . JSON5 ;
14
14
15
15
public static class Integers {
16
16
// required to deserialize integers beyond Int128.MinValue and UInt128.MaxValue
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ namespace Json5.Tests.Parse;
8
8
9
9
using System . Text . Json . Nodes ;
10
10
11
- using static Json5 . Json5Parser ;
11
+ using static Json5 . JSON5 ;
12
12
13
13
public class NpmPackageJson {
14
14
[ Fact ] void Json5MatchesEquivalentJsonReference ( ) => Parse ( PackageJson5 ) . Should ( ) . Be ( JsonNode . Parse ( PackageJson ) ) ;
Original file line number Diff line number Diff line change 2
2
3
3
using FluentAssertions ;
4
4
5
- using static Json5 . Json5Parser ;
5
+ using static Json5 . JSON5 ;
6
6
7
7
public class Null {
8
8
[ Fact ] public void Test ( ) => Parse ( "null" ) . Should ( ) . BeNull ( ) ;
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ namespace Json5.Tests.Parse;
9
9
using System . Text . Json . Nodes ;
10
10
11
11
using static FluentAssertions . FluentActions ;
12
- using static Json5 . Json5Parser ;
12
+ using static Json5 . JSON5 ;
13
13
14
14
public class Objects {
15
15
[ Fact ] void Empty ( ) => Parse ( "{}" ) . Should ( ) . BeEmptyObject ( ) ;
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ namespace Json5.Tests.Parse;
7
7
using Helpers ;
8
8
9
9
using static FluentAssertions . FluentActions ;
10
- using static Json5 . Json5Parser ;
10
+ using static Json5 . JSON5 ;
11
11
12
12
public class Strings {
13
13
[ Fact ] void DoubleQuoted ( ) => Parse ( "\" strings are 'fun'\" " ) . Should ( ) . Be ( "strings are 'fun'" ) ;
You canβt perform that action at this time.
0 commit comments