Commit d506c176 authored by Marc Gravell's avatar Marc Gravell

failing test for #563

parent c8991137
......@@ -771,6 +771,19 @@ public async Task Issue1281_DataReaderOutOfOrderAsync()
reader.Read().IsFalse();
}
}
[Fact]
public async Task Issue563_QueryAsyncShouldThrowException()
{
try
{
var data = (await connection.QueryAsync<int>("select 1 union all select 2")).ToList();
Assert.Fail();
}catch(SqlException ex)
{
Console.WriteLine(ex.Message);
}
}
}
}
#endif
\ No newline at end of file
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