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/Mono.Data.Sqlite/Test/SqliteExceptionUnitTests.cs')
-rw-r--r--mcs/class/Mono.Data.Sqlite/Test/SqliteExceptionUnitTests.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/mcs/class/Mono.Data.Sqlite/Test/SqliteExceptionUnitTests.cs b/mcs/class/Mono.Data.Sqlite/Test/SqliteExceptionUnitTests.cs
index fa766e915ea..6a7fdbc487a 100644
--- a/mcs/class/Mono.Data.Sqlite/Test/SqliteExceptionUnitTests.cs
+++ b/mcs/class/Mono.Data.Sqlite/Test/SqliteExceptionUnitTests.cs
@@ -24,11 +24,7 @@ namespace MonoTests.Mono.Data.Sqlite
}
[Test]
-#if NET_2_0
[ExpectedException(typeof(SqliteException))]
-#else
- [ExpectedException(typeof(SqliteSyntaxException))]
-#endif
public void WrongSyntax()
{
SqliteCommand insertCmd = new SqliteCommand("INSERT INTO t1 VALUES (,')",_conn);