Github user LosD commented on a diff in the pull request:

    https://github.com/apache/metamodel/pull/74#discussion_r46772088
  
    --- Diff: 
jdbc/src/test/java/org/apache/metamodel/jdbc/JdbcDataContextTest.java ---
    @@ -148,20 +148,22 @@ public void testExecuteQuery() throws Exception {
             assertEquals(
                     "SELECT a._CUSTOMERNUMBER_, a._CUSTOMERNAME_, 
a._CONTACTLASTNAME_, a._CONTACTFIRSTNAME_, a._PHONE_, "
                             + "a._ADDRESSLINE1_, a._ADDRESSLINE2_, a._CITY_, 
a._STATE_, a._POSTALCODE_, a._COUNTRY_, "
    -                        + "a._SALESREPEMPLOYEENUMBER_, a._CREDITLIMIT_ 
FROM PUBLIC._CUSTOMERS_ a", q.toString()
    -                        .replace('\"', '_'));
    +                        + "a._SALESREPEMPLOYEENUMBER_, a._CREDITLIMIT_ 
FROM PUBLIC._CUSTOMERS_ a",
    +                q.toString().replace('\"', '_'));
             DataSet result = strategy.executeQuery(q);
             assertTrue(result.next());
             assertEquals(
                     "Row[values=[103, Atelier graphique, Schmitt, Carine, 
40.32.2555, 54, rue Royale, null, Nantes, null, "
    -                        + "44000, France, 1370, 21000.0]]", 
result.getRow().toString());
    +                        + "44000, France, 1370, 21000.0]]",
    +                result.getRow().toString());
             assertTrue(result.next());
             assertTrue(result.next());
             assertTrue(result.next());
             assertTrue(result.next());
             assertEquals(
                     "Row[values=[121, Baane Mini Imports, Bergulfsen, Jonas, 
07-98 9555, Erling Skakkes gate 78, null, "
    -                        + "Stavern, null, 4110, Norway, 1504, 81700.0]]", 
result.getRow().toString());
    +                        + "Stavern, null, 4110, Norway, 1504, 81700.0]]",
    +                result.getRow().toString());
    --- End diff --
    
    Example of weird reformat


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to