Skip to content

Commit

Permalink
update dart version
Browse files Browse the repository at this point in the history
  • Loading branch information
jctaoo committed Jan 9, 2025
1 parent afeb93e commit 89fa5a1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Defines a default set of lint rules enforced for
# projects at Google. For details and rationale,
# see https://github.com/dart-lang/pedantic#enabled-lints.
include: package:pedantic/analysis_options.yaml
include: package:lints/recommended.yaml

# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
# Uncomment to specify additional rules.
Expand Down
2 changes: 0 additions & 2 deletions lib/lyrics_parser.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
library lyrics_parser;

export 'src/lyrics_parser.dart';
export 'src/exceptions.dart';
export 'src/id_tags.dart';
2 changes: 1 addition & 1 deletion lib/src/exceptions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ class LyricsParserNotReadyException implements Exception {
const LyricsParserNotReadyException(this.message);

@override
String toString() => super.toString() + ': ' + message;
String toString() => '${super.toString()}: $message';
}
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ version: 1.0.0-nullsafety.0
homepage: https://github.com/fusee-code-lab/lyrics_parser

environment:
sdk: '>=2.12.0-0 <3.0.0'
sdk: ">=3.0.0"

dependencies:
path: ^1.8.0-nullsafety.3
characters: ^1.1.0-nullsafety.5
characters: ^1.4.0
path: ^1.9.1

dev_dependencies:
pedantic: ^1.10.0-nullsafety.3
test: ^1.16.0-nullsafety.19
test: ^1.25.14
lints: ^5.1.1
1 change: 0 additions & 1 deletion test/lyrics_parser_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'dart:io';
import 'package:lyrics_parser/lyrics_parser.dart';
import 'package:lyrics_parser/src/exceptions.dart';
import 'package:test/test.dart';

const lcrContent = "[00:00.000] 作词 : Andrew Cedar/Justin Scott Franks/Charlie Otto Jr. Puth/Cameron Jibril Thomaz\n[00:01.000] 作曲 : Andrew Cedar/Justin Scott Franks/Charlie Otto Jr. Puth/Cameron Jibril Thomaz\n[00:11.210]It's been a long day without you my friend\n[00:17.310]And I'll tell you all about it when I see you again\n[00:23.750]We've come a long way from where we began\n[00:29.250]Oh I'll tell you all about it when I see you again\n[00:35.700]When I see you again\n[00:40.200]Damn who knew all the planes we flew\n[00:43.550]Good things we've been through\n[00:44.850]That I'll be standing right here\n[00:46.950]Talking to you about another path\n[00:47.900]I know we loved to hit the road and laugh\n[00:51.800]But something told me that it wouldn't last\n[00:53.900]Had to switch up look at things different see the bigger picture\n[00:57.750]Those were the days hard work forever pays\n[01:00.650]Now I see you in a better place\n[01:05.700]How could we not talk about family when family's all that we got?\n[01:09.200]Everything I went through you were standing there by my side\n[01:11.950]And now you gonna be with me for the last ride\n[01:14.600]It's been a long day without you my friend\n[01:20.900]And I'll tell you all about it when I see you again\n[01:27.100]We've come a long way from where we began\n[01:32.950]Oh I'll tell you all about it when I see you again\n[01:38.700]When I see you again\n[01:42.150]Ohh~~~\n[01:57.050]First you both go out your way\n[01:58.050]And the vibe is feeling strong and what's small turn to a friendship\n[02:01.450]a friendship turn into a bond and\n[02:03.650]that bond will never be broke and the love will never get lost\n[02:09.250]And when brotherhood come first then the line\n[02:11.350]Will never be crossed established it on our own\n[02:12.850]When that line had to be drawn and that line is what we reach\n[02:17.650]So remember me when I'm gone\n[02:20.550]How could we not talk about family when family's all that we got?\n[02:24.650]Everything I went through you were standing there by my side\n[02:27.800]And now you gonna be with me for the last ride\n[02:30.100]Let the light guide your way\n[02:36.950]Hold every memory as you go\n[02:42.150]And every road you take will always lead you home\n[02:50.350]Hoo\n[02:53.450]It's been a long day without you my friend\n[02:59.650]And I'll tell you all about it when I see you again\n[03:05.850]We've come a long way from where we began\n[03:11.800]Oh I'll tell you all about it when I see you again\n[03:17.850]When I see you again\n[03:26.550]Again\n[03:31.750]When I see you again see you again\n[03:42.500]When I see you again\n";
Expand Down

0 comments on commit 89fa5a1

Please sign in to comment.