mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Tests: Run swift-format on TestLibWebSwiftBindings
This commit is contained in:
committed by
Andrew Kaster
parent
3393a74771
commit
951f4f0984
@@ -5,8 +5,8 @@
|
||||
*/
|
||||
|
||||
import AK
|
||||
import Web
|
||||
import Testing
|
||||
import Web
|
||||
|
||||
@Suite
|
||||
struct TestLibWebSwiftBindings {
|
||||
@@ -17,7 +17,7 @@ struct TestLibWebSwiftBindings {
|
||||
#expect(Web.Bindings.NavigationType.Push.rawValue == 0)
|
||||
|
||||
let end = Web.Bindings.idl_enum_to_string(Web.Bindings.ScrollLogicalPosition.End)
|
||||
let end_view = end.__bytes_as_string_viewUnsafe().bytes();
|
||||
let end_view = end.__bytes_as_string_viewUnsafe().bytes()
|
||||
let end_string = Swift.String(bytes: end_view, encoding: .utf8)!
|
||||
|
||||
#expect(end_string == "end")
|
||||
|
||||
Reference in New Issue
Block a user