Skip to content

Commit d3d323c

Browse files
committed
Minor fixes to formatting nits introduced in the duration PR
1 parent 3177114 commit d3d323c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integration/types/duration_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_can_insert_duration
3737
}
3838
session.execute 'CREATE TABLE bar ("name" varchar, "dur" duration, primary key ("name"))'
3939

40-
insert = Retry.with_attempts(5) { session.prepare "INSERT INTO foo.bar (name,dur) VALUES (?,?)" }
40+
insert = Retry.with_attempts(5) { session.prepare "INSERT INTO foo.bar (name,dur) VALUES (?,?)" }
4141
durations.each_pair do |key,val|
4242
Retry.with_attempts(5) { session.execute insert, arguments: [key,val] }
4343
end

lib/cassandra/duration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def eql?(other)
7575
alias == eql?
7676

7777
def self.cql_type
78-
Type.new(@kind)
78+
Type.new(@kind)
7979
end
8080

8181
# Requirements for CustomData module

0 commit comments

Comments
 (0)