Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest.cs')
-rw-r--r--mcs/class/System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest.cs b/mcs/class/System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest.cs
index a5b60dad368..7d29dcb77f0 100644
--- a/mcs/class/System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest.cs
+++ b/mcs/class/System.Data/Test/ProviderTests/ProviderIndependant/DataReaderTest.cs
@@ -183,7 +183,7 @@ namespace MonoTests.System.Data
Assert.Fail ("#2 No test data");
// for null value, length in bytes should return 0
if (reader.Read ())
- Assert.AreEqual (0, reader.GetBytes (0, 0, null, 0, 0),
+ Assert.AreEqual (-1, reader.GetBytes (0, 0, null, 0, 0),
"#3 on null value, it should return -1");
else
Assert.Fail ("#4 No test data");