thucydides
  1. thucydides
  2. THUCYDIDES-240

BeanMatcher throws IllegalArgumentException for field names containing dots (or opening parenthesis / square bracket)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.236
    • Fix Version/s: 0.9.251
    • Labels:
      None

      Description

      Here is the unit test code:

      @Test
      public void testMatcher() {
      Map<String, String> map = new HashMap<>();
      map.put("test.a", "result1");
      BeanMatcher matcher1 = the("test.a", equalTo("result1"));
      matcher1.matches(map);
      }

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            johnsmart
            Reporter:
            bodydomelight
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: