mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-06-19 13:28:16 +08:00
Making tuples pretty too
This commit is contained in:

committed by
Patrik Svensson

parent
e8eb5b85b9
commit
74a2e10ff0
@ -35,4 +35,10 @@ public static class TestExceptions
|
||||
firstFewItems = new List<T>();
|
||||
throw new InvalidOperationException("Throwing!");
|
||||
}
|
||||
|
||||
public static (string Key, List<T> Values) GetTuplesWithInnerException<T>((int First, string Second) myValue)
|
||||
{
|
||||
MethodThatThrows(0);
|
||||
return ("key", new List<T>());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user