From 36bf0bc770a4a07e744ca50d7955fbfa4a417da9 Mon Sep 17 00:00:00 2001 From: Apoorv Deshmukh Date: Thu, 31 Aug 2023 21:50:54 +0530 Subject: [PATCH] Correct test expectation --- azuread/azuread_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azuread/azuread_test.go b/azuread/azuread_test.go index 0b5a42e0..bcdedfcb 100644 --- a/azuread/azuread_test.go +++ b/azuread/azuread_test.go @@ -56,7 +56,7 @@ func TestTDS8ConnWithAzureSqlAuth(t *testing.T) { t.Fatal("Scan failed:", err.Error()) } assert.Equal(t, "TSQL", protocolName, "Protocol name does not match") - assert.Equal(t, "0x08000000", hex.EncodeToString(tdsver)) + assert.Equal(t, "08000000", hex.EncodeToString(tdsver)) } // returns parsed connection parameters derived from