From 564f588eb5e41b2729f47e114ec2adf6580a17cf Mon Sep 17 00:00:00 2001 From: kingwill101 Date: Sun, 19 Nov 2023 14:17:41 -0500 Subject: [PATCH] fix permalink tests --- test/permalink_test.dart | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/permalink_test.dart b/test/permalink_test.dart index fe88172..959d672 100644 --- a/test/permalink_test.dart +++ b/test/permalink_test.dart @@ -18,27 +18,27 @@ void main() { test('Date Permalink Structure', () { String permalink = post.buildPermalink(PermalinkStructure.date); - expect(permalink, '/dart/programming/2023/01/15/test-post.html'); + expect(permalink, 'dart/programming/2023/01/15/test-post.html'); }); test('Pretty Permalink Structure', () { String permalink = post.buildPermalink(PermalinkStructure.pretty); - expect(permalink, '/dart/programming/2023/01/15/test-post/'); + expect(permalink, 'dart/programming/2023/01/15/test-post/'); }); test('Ordinal Permalink Structure', () { String permalink = post.buildPermalink(PermalinkStructure.ordinal); - expect(permalink, '/dart/programming/2023/015/test-post.html'); + expect(permalink, 'dart/programming/2023/015/test-post.html'); }); test('Weekdate Permalink Structure', () { String permalink = post.buildPermalink(PermalinkStructure.weekdate); - expect(permalink, '/dart/programming/2023/W02/Sun/test-post.html'); + expect(permalink, 'dart/programming/2023/W02/Sun/test-post.html'); }); test('None Permalink Structure', () { String permalink = post.buildPermalink(PermalinkStructure.none); - expect(permalink, '/dart/programming/test-post.html'); + expect(permalink, 'dart/programming/test-post.html'); }); }); }