metron-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cestella <...@git.apache.org>
Subject [GitHub] metron pull request #742: METRON-1168: Add SUBSTRING method to stellar
Date Sat, 09 Sep 2017 00:39:17 GMT
Github user cestella commented on a diff in the pull request:

    https://github.com/apache/metron/pull/742#discussion_r137913498
  
    --- Diff: metron-stellar/stellar-common/src/test/java/org/apache/metron/stellar/dsl/functions/StringFunctionsTest.java
---
    @@ -408,6 +408,23 @@ public void testAppendIfMissing() throws Exception {
     
       }
     
    +  @Test
    +  public void testSubstring() throws Exception {
    +    Map<String, Object> variables = ImmutableMap.of("s", "apache metron");
    --- End diff --
    
    Agreed, we should expect an exception in that case.


---

Mime
View raw message