Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge from main #216

Merged
merged 20 commits into from
Jan 22, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update test case
  • Loading branch information
sheyanjie-qq committed Jan 21, 2025
commit 6ad693de53f40d08ff79f91201ba6c03ba2c2170
6 changes: 3 additions & 3 deletions src/test/java/com/taosdata/jdbc/utils/UtilsTest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.taosdata.jdbc.utils;

import com.fasterxml.jackson.annotation.JsonTypeInfo;
import org.junit.Assert;
import org.junit.Test;

Expand Down Expand Up @@ -211,8 +212,7 @@ public void replaceNothing3() {
public void ubigintTest() {
BigInteger bigInteger = new BigInteger("18446744073709551615");
long v = bigInteger.longValue();
byte b = (byte)(v & 0xFF);
System.out.println(b);

short b = (short)(v & 0xFF);
Assert.assertEquals(255, b);
}
}
Loading