Skip to content

Commit

Permalink
fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikoro committed Dec 22, 2024
1 parent 5dc866e commit cc530df
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/src/emojis/emoji/emoji_getters.dart
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ extension EmojiGetters on Emoji {
/// ```
bool get isV15_1 => version == Version.v15_1;

/// Returns `true` if the emoji's version is v16.0.
/// Returns `true` if the emoji's version is v16.0.
///
/// Example:
/// ```dart
Expand Down
2 changes: 1 addition & 1 deletion lib/src/emojis/emojis.dart
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ abstract class Emojis {
/// Returns a list of emojis under the Unicode 15.1 version.
static List<Emoji> get v15_1 => byVersion(Version.v15_1);

/// Returns a list of emojis under the Unicode 16.0 version.
/// Returns a list of emojis under the Unicode 16.0 version.
static List<Emoji> get v16_0 => byVersion(Version.v16_0);

/* ------------------------------ Status ------------------------------- */
Expand Down
6 changes: 4 additions & 2 deletions test/src/regex_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,11 @@ void main() {

$({
'1F9D4 200D 2642 FE0F': true, // Valid: Beard emoji
'1F9D4 1F3FD 200D 2642 FE0F': true, // Valid: Beard emoji with skin tone modifier
'1F9D4 1F3FD 200D 2642 FE0F':
true, // Valid: Beard emoji with skin tone modifier
'1F9D4 1F3FB': true, // Valid: Beard emoji with light skin tone modifier
'1F9D4 1F3FE': true, // Valid: Beard emoji with medium dark skin tone modifier
'1F9D4 1F3FE':
true, // Valid: Beard emoji with medium dark skin tone modifier
'Hello 1F9D4': true, // Valid: Beard emoji in text
'12345': false, // Invalid: Random text that doesn’t match the emoji
'': false, // Invalid: Empty string
Expand Down

0 comments on commit cc530df

Please sign in to comment.