File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -16,19 +16,19 @@ func TestSDKVersioning(t *testing.T) {
16
16
17
17
// Ensure default version is correct
18
18
assert .Equal (t , "go" , Config .SDKName )
19
- assert .Equal (t , " 2.0.0" , Config .SDKVersion )
19
+ assert .Equal (t , 2.0 , Config .SDKVersion )
20
20
21
21
// Test GetSDKInfo function
22
22
info := GetSDKInfo ()
23
23
assert .Equal (t , "go" , info ["SDK Name" ])
24
- assert .Equal (t , 2.0 , info ["SDK Version" ])
24
+ assert .Equal (t , "2.00" , info ["SDK Version" ])
25
25
26
26
// Set environment variables and reconfigure
27
- os .Setenv ("TREBLLE_SDK_VERSION" , "2.1.0 " )
27
+ os .Setenv ("TREBLLE_SDK_VERSION" , "2.1" )
28
28
Configure (Configuration {})
29
29
30
30
// Check if version updates
31
- assert .Equal (t , " 2.1.0" , Config .SDKVersion )
31
+ assert .Equal (t , 2.1 , Config .SDKVersion )
32
32
33
33
// Clean up env
34
34
os .Unsetenv ("TREBLLE_SDK_VERSION" )
You can’t perform that action at this time.
0 commit comments