Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (24 sloc) 0.576 kB
using System;
using System.Linq;
using FluentCassandra.Types;
using Xunit;
namespace FluentCassandra
{
public class ReportedIssuesTests
{
public const string FamilyName = "Standard";
public const string TestKey = "Test1";
[Fact]
public void CreateRecord_Doesnt_Check_BytesType_Zero_Length()
{
// arrange
var db = new CassandraContext("Test1", "localhost");
var family = db.GetColumnFamily<AsciiType>(FamilyName);
// act
// assert
Assert.Throws<ArgumentException>(delegate {
dynamic value = family.CreateRecord("");
});
}
}
}
Jump to Line
Something went wrong with that request. Please try again.