Commit 19cad7d2 authored by Nick Craver's avatar Nick Craver

Streams: fix naming tests

parent 4a8061f1
......@@ -87,6 +87,8 @@ public void CheckDatabaseMethodsUseKeys(Type type)
case nameof(IDatabaseAsync.ExecuteAsync):
case nameof(IDatabase.ScriptEvaluate):
case nameof(IDatabaseAsync.ScriptEvaluateAsync):
case nameof(IDatabase.StreamRead):
case nameof(IDatabase.StreamReadAsync):
continue; // they're fine, but don't want to widen check to return type
}
......@@ -214,6 +216,7 @@ private void CheckMethod(MethodInfo method, bool isAsync)
|| shortName.StartsWith("Script")
|| shortName.StartsWith("SortedSet")
|| shortName.StartsWith("String")
|| shortName.StartsWith("Stream")
, fullName + ":Prefix");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment