1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-03 23:05:59 +02:00

Fixed test

This commit is contained in:
Brian Fiete 2021-06-19 11:16:04 -07:00
parent 3806af6c75
commit 615473369f

View file

@ -22,7 +22,7 @@ namespace IDETest
}
}
int Switch1(Result<int> res)
/*int Switch1(Result<int> res)
{
switch (res)
{
@ -31,7 +31,7 @@ namespace IDETest
case .Err(let b): //FAIL
return 1;
}
}
}*/
int Switch2(Result<int> res)
{
@ -39,7 +39,7 @@ namespace IDETest
{
case .Ok(let a):
if (a > 0)
return 2;
break;
fallthrough;
case .Err:
return 1;