nickva commented on code in PR #5397:
URL: https://github.com/apache/couchdb/pull/5397#discussion_r1913586846


##########
test/elixir/test/uuids_test.exs:
##########
@@ -88,7 +88,7 @@ defmodule UUIDsTest do
 
     Enum.reduce(resp.body["uuids"], fn curr, acc ->
       assert String.length(curr) == 14 + String.length(@utc_id_suffix)
-      assert String.slice(curr, 14..-1//-1) == @utc_id_suffix
+      assert String.slice(curr, 14..-1//1) == @utc_id_suffix

Review Comment:
   Would `-14..-1` work here?
   
   To avoid the silly forced `//1` step.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to