mirror of
https://github.com/goplus/llgo.git
synced 2025-10-04 15:22:55 +08:00
chore: upgrade newlib
This commit is contained in:
@@ -15,23 +15,23 @@ func TestGetNewlibESP32Config_LibConfig(t *testing.T) {
|
||||
t.Errorf("Expected Name '%s', got '%s'", expectedName, config.Name)
|
||||
}
|
||||
|
||||
expectedVersion := "esp-4.3.0_20250211-patch2"
|
||||
expectedVersion := "esp-4.3.0_20250211-patch3"
|
||||
if config.Version != expectedVersion {
|
||||
t.Errorf("Expected Version '%s', got '%s'", expectedVersion, config.Version)
|
||||
}
|
||||
|
||||
expectedUrl := "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch2.tar.gz"
|
||||
expectedUrl := "https://github.com/goplus/newlib/archive/refs/tags/esp-4.3.0_20250211-patch3.tar.gz"
|
||||
if config.Url != expectedUrl {
|
||||
t.Errorf("Expected Url '%s', got '%s'", expectedUrl, config.Url)
|
||||
}
|
||||
|
||||
expectedArchiveSrcDir := "newlib-esp-4.3.0_20250211-patch2"
|
||||
expectedArchiveSrcDir := "newlib-esp-4.3.0_20250211-patch3"
|
||||
if config.ArchiveSrcDir != expectedArchiveSrcDir {
|
||||
t.Errorf("Expected ArchiveSrcDir '%s', got '%s'", expectedArchiveSrcDir, config.ArchiveSrcDir)
|
||||
}
|
||||
|
||||
// Test String() method
|
||||
expectedString := "newlib-esp32-esp-4.3.0_20250211-patch2"
|
||||
expectedString := "newlib-esp32-esp-4.3.0_20250211-patch3"
|
||||
if config.String() != expectedString {
|
||||
t.Errorf("Expected String() '%s', got '%s'", expectedString, config.String())
|
||||
}
|
||||
|
Reference in New Issue
Block a user