Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
Update links
Browse files Browse the repository at this point in the history
  • Loading branch information
halildurmus committed Apr 14, 2024
1 parent 7121fe8 commit 59f994a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ void main() {
5,
DateTime.now(),
const Rect(1, 2, 3, 4),
Uri.https('dartwinrt.dev')
Uri.https('win32.pub')
];
final array = list.toArray();
expect(array[0].address, isNonZero);
Expand Down Expand Up @@ -185,7 +185,7 @@ void main() {
5,
DateTime.now(),
const Rect(1, 2, 3, 4),
Uri.https('dartwinrt.dev')
Uri.https('win32.pub')
]);

final array = getInspectableArray(pv.ptr);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ void main() {
expect(isWindowsRuntimeAvailable(), isTrue);
});

final dartUri1 = Uri.https('dartwinrt.dev', '/');
final dartUri1 = Uri.https('win32.pub', '/');
final dartUri2 = Uri.https('win32.pub', '/');

test('Dart Uri to WinRTUri', () {
final winrtUri = dartUri1.toWinRTUri();
expect(winrtUri.schemeName, equals('https'));
expect(winrtUri.host, equals('dartwinrt.dev'));
expect(winrtUri.host, equals('win32.pub'));
});

group('List<Uri?>', () {
Expand Down Expand Up @@ -51,7 +51,7 @@ void main() {
final winrtUri = winrt_uri.Uri.createUri(dartUri1.toString());
final dartUri = winrtUri.toDartUri();
expect(dartUri.scheme, equals('https'));
expect(dartUri.host, equals('dartwinrt.dev'));
expect(dartUri.host, equals('win32.pub'));
});

group('Pointer<COMObject>', () {
Expand All @@ -71,7 +71,7 @@ void main() {
final ptr = (winrt_uri.Uri.createUri(dartUri1.toString())..detach()).ptr;
final winrtUri = ptr.toWinRTUri();
expect(winrtUri.schemeName, equals('https'));
expect(winrtUri.host, equals('dartwinrt.dev'));
expect(winrtUri.host, equals('win32.pub'));
});
});

Expand Down

0 comments on commit 59f994a

Please sign in to comment.