Skip to content

Commit 14eed86

Browse files
committed
Add Member to token color list so unit tests don't crash
1 parent 90859a9 commit 14eed86

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

UnitTestPSReadLine/UnitTestReadLine.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ private enum KeyMode
8484
/*Parameter*/ ConsoleColor.White,
8585
/*Type*/ ConsoleColor.Yellow,
8686
/*Number*/ ConsoleColor.DarkBlue,
87+
/*Member*/ ConsoleColor.DarkMagenta,
8788
};
8889

8990
private static readonly ConsoleColor[] BackgroundColors = new[]
@@ -98,6 +99,7 @@ private enum KeyMode
9899
/*Parameter*/ ConsoleColor.DarkYellow,
99100
/*Type*/ ConsoleColor.Black,
100101
/*Number*/ ConsoleColor.Gray,
102+
/*Member*/ ConsoleColor.Yellow,
101103
};
102104

103105
static Dictionary<char, ConsoleKeyInfo> CharToKeyInfo = new Dictionary<char, ConsoleKeyInfo>();

0 commit comments

Comments
 (0)