Skip to content

Commit 370dd16

Browse files
refactor: Move 2.09 -> 2.20 (#818)
- Move 2.09 -> 2.20 - Part of #616 - instead of changing advanced topic, moving to section on string formatting to expand on that - Add line break to not overflow line length
1 parent 2d86b08 commit 370dd16

File tree

33 files changed

+51
-51
lines changed

33 files changed

+51
-51
lines changed

src/Chapter02.Tests/Listing02.10.Tests.cs renamed to src/Chapter02.Tests/Listing02.09.CaseInsensitiveComparisonOfTwoStrings.Tests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-

2-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_10.Tests;
1+
2+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_09.Tests;
33

44
[TestClass]
55
public class Comparison
@@ -12,4 +12,4 @@ public void Main_WriteBooleanStatements()
1212
IntelliTect.TestTools.Console.ConsoleAssert.Expect(
1313
expected, Program.Main);
1414
}
15-
}
15+
}

src/Chapter02.Tests/Listing02.11.Tests.cs renamed to src/Chapter02.Tests/Listing02.10.DisplayingASingleQuoteUsingAnEscapeSequence.Tests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_11.Tests;
2+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_10.Tests;
33

44
[TestClass]
55
public class SingleQuoteTests
@@ -13,4 +13,4 @@ public void Main_WriteSingleQuote()
1313
IntelliTect.TestTools.Console.ConsoleAssert.Expect(
1414
expected, SingleQuote.Main);
1515
}
16-
}
16+
}

src/Chapter02.Tests/Listing02.12.Tests.cs renamed to src/Chapter02.Tests/Listing02.11.UsingUnicodeEncodingToDisplayASmileyFace.Tests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-

2-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_12.Tests;
1+
2+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_11.Tests;
33

44
[TestClass]
55
public class SingleQuoteTests
@@ -13,4 +13,4 @@ public void Main_WriteSmiley()
1313
IntelliTect.TestTools.Console.ConsoleAssert.Expect(
1414
expected, SingleQuote.Main);
1515
}
16-
}
16+
}

src/Chapter02.Tests/Listing02.13.Tests.cs renamed to src/Chapter02.Tests/Listing02.12.UsingTheNewlineCharacterToInsertANewline.Tests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using IntelliTect.TestTools.Console;
1+
using IntelliTect.TestTools.Console;
22

3-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_13.Tests;
3+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_12.Tests;
44

55
[TestClass]
66
public class DuelOfWitsTests
@@ -12,4 +12,4 @@ public void Main_WriteDizzyQuote()
1212

1313
ConsoleAssert.Expect(expected, (Action)DuelOfWits.Main, NormalizeOptions.None);
1414
}
15-
}
15+
}

src/Chapter02.Tests/Listing02.14.Tests.cs renamed to src/Chapter02.Tests/Listing02.13.DisplayingATriangleUsingAVerbatimStringLiteral.Tests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-

2-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_14.Tests;
1+
2+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_13.Tests;
33

44
[TestClass]
55
public class TriangleTests
@@ -18,4 +18,4 @@ public void Main_WriteTriangle()
1818
IntelliTect.TestTools.Console.ConsoleAssert.Expect(
1919
expected, Triangle.Main);
2020
}
21-
}
21+
}

src/Chapter02.Tests/Listing02.15.Tests.cs renamed to src/Chapter02.Tests/Listing02.14.StringInterpolation.Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_15.Tests;
2+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_14.Tests;
33

44
[TestClass]
55
public class InterpolationTests

src/Chapter02.Tests/Listing02.16.Tests.cs renamed to src/Chapter02.Tests/Listing02.15.NewLinesWithinStringInterpolation.Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.CodeAnalysis;
22

3-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_16.Tests;
3+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_15.Tests;
44

55
[TestClass]
66
public class NewLineInterpolationTests

src/Chapter02.Tests/Listing02.17.Tests.cs renamed to src/Chapter02.Tests/Listing02.16.CombiningStringLiteralsWithInterpolation.Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using Microsoft.CodeAnalysis;
22

3-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_17.Tests;
3+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_16.Tests;
44

55
[TestClass]
66
public class CombiningLiteralsWithInterpolationTests

src/Chapter02.Tests/Listing02.18.Tests.cs renamed to src/Chapter02.Tests/Listing02.17.SingleLineRawStringLiteral.Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_18.Tests;
2+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_17.Tests;
33

44
[TestClass]
55
public class SingleRawLiteralTests

src/Chapter02.Tests/Listing02.19.Tests.cs renamed to src/Chapter02.Tests/Listing02.18.RawStringLiteralWithInterpolation.Tests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_19.Tests;
2+
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter02.Listing02_18.Tests;
33

44
[TestClass]
55
public class RawLiteralsWithInterpolationTests

0 commit comments

Comments
 (0)