mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-10 12:20:09 +08:00
allow lower case global parameter value
This commit is contained in:
parent
a1086ff402
commit
23a0a0cd90
@ -14,7 +14,7 @@ public enum MockScope {
|
||||
|
||||
public static MockScope of(String scope) {
|
||||
try {
|
||||
return valueOf(scope);
|
||||
return valueOf(scope.toUpperCase());
|
||||
} catch (IllegalArgumentException e) {
|
||||
return GLOBAL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user