We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 100412d commit 0527bf0Copy full SHA for 0527bf0
spec/mysql2/statement_spec.rb
@@ -61,7 +61,7 @@
61
62
it "should handle bignum but in int64_t" do
63
stmt = @client.prepare('SELECT ? AS max, ? AS min')
64
- int64_max = (1 << 63)-1
+ int64_max = (1 << 63) - 1
65
int64_min = -(1 << 63)
66
result = stmt.execute(int64_max, int64_min)
67
expect(result.to_a).to eq(['max' => int64_max, 'min' => int64_min])
@@ -71,7 +71,7 @@
71
it "should handle bignum but beyond int64_t" do
72
stmt = @client.prepare('SELECT ? AS max1, ? AS min1')
73
int64_max1 = (1 << 63)
74
- int64_min1 = -(1 << 63)-2
+ int64_min1 = -(1 << 63) - 2
75
result = stmt.execute(int64_max1, int64_min1)
76
expect(result.to_a).to eq(['max1' => -1, 'min1' => -1])
77
@client.query 'DROP TABLE IF EXISTS mysql2_stmt_q'
0 commit comments