[ 
https://issues.apache.org/jira/browse/TINKERPOP-3151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098635#comment-18098635
 ] 

ASF GitHub Bot commented on TINKERPOP-3151:
-------------------------------------------

kirill-stepanishin commented on code in PR #3558:
URL: https://github.com/apache/tinkerpop/pull/3558#discussion_r3642169426


##########
gremlin-test/src/main/resources/org/apache/tinkerpop/gremlin/test/features/sideEffect/Inject.feature:
##########
@@ -235,3 +235,51 @@ Feature: Step - inject()
       | d[0].n |
       | d[-129].n |
       | d[-32769].n |
+
+  @GraphComputerVerificationInjectionNotSupported
+  Scenario: g_injectXpoint5X
+    Given the modern graph
+    And the traversal of
+      """
+      g.inject(.5)
+      """
+    When iterated to list
+    Then the result should be unordered
+      | result |
+      | d[0.5].m |
+
+  @GraphComputerVerificationInjectionNotSupported
+  Scenario: g_injectXpoint5fX
+    Given the modern graph
+    And the traversal of
+      """
+      g.inject(.5f)
+      """
+    When iterated to list
+    Then the result should be unordered
+      | result |
+      | d[0.5].f |
+
+  @GraphComputerVerificationInjectionNotSupported
+  Scenario: g_injectXpoint5dX
+    Given the modern graph
+    And the traversal of
+      """
+      g.inject(.5d)
+      """
+    When iterated to list
+    Then the result should be unordered
+      | result |
+      | d[0.5].d |
+
+  @GraphComputerVerificationInjectionNotSupported
+  Scenario: g_injectX1to5X
+    Given the modern graph
+    And the traversal of
+      """
+      g.inject(1..5)

Review Comment:
   Added, thanks





> Allow floats with no leading digits
> -----------------------------------
>
>                 Key: TINKERPOP-3151
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-3151
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: language
>    Affects Versions: 3.7.3
>            Reporter: Cole Greer
>            Priority: Trivial
>
> Currently floatLiterals without a leading digit such as .5f or .5d are not 
> permitted by the grammar. This is a minor inconvenience for users as well as 
> a subtle incompatibility from groovy.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to