From: duerst Date: 2021-08-17T07:44:40+00:00 Subject: [ruby-core:104946] [Ruby master Bug#18027] test/ruby/enc/test_emoji_breaks.rb does not use the file emoji-variation-sequences.txt Issue #18027 has been updated by duerst (Martin D��rst). Status changed from Open to Closed Resolved with commit fd7f61c. It turned out the problem was that in emoji-variation-sequences.txt, lines look like `0023 FE0E ; text style ; # (1.1) NUMBER SIGN` whereas in the other two files that we processed the same way, they look like `23F0 ; Basic_Emoji; alarm clock # E0.6 [1] (���)` (aligned to show the similarities and differences). The empty field between the second semicolon and the hash mark wasn't properly accounted for, but this has now been fixed in commit fd7f61c. ---------------------------------------- Bug #18027: test/ruby/enc/test_emoji_breaks.rb does not use the file emoji-variation-sequences.txt https://bugs.ruby-lang.org/issues/18027#change-93310 * Author: duerst (Martin D��rst) * Status: Closed * Priority: Normal * Assignee: duerst (Martin D��rst) * Target version: 3.1 * ruby -v: ruby 3.1.0dev (2021-06-03T06:59:33Z master 7e14762159) [x86_64-linux] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- While working on issue #17750, I found out that the number of assertions is essentially the same whether or not the file emoji-variation-sequences.txt is included in the files used to create the test data. This is the case both before and after the move of this file. So it seems unrelated to the move of the file, or to the version upgrade. I have not yet been able to figure out a reason for this behavior; the structure of the file emoji-variation-sequences.txt looks just like the structure of the other three files (emoji-sequences.txt, emoji-test.txt, and emoji-zwj-sequences.txt). This bug serves to track this issue. Any hints appreciated. In particular, I'm a `puts` debugger, but `puts` debugging doesn't seem to work well when testing. -- https://bugs.ruby-lang.org/ Unsubscribe: