from mycli.packages.expanded import expanded_table

def test_expanded_table_renders():
    input = [("hello", 123), ("world", 456)]

    expected = """-[ RECORD 0 ]
name | hello
age  | 123
-[ RECORD 1 ]
name | world
age  | 456
"""
    assert expected == expanded_table(input, ["name", "age"])

from mycli.packages.expanded import expanded_table

def test_expanded_table_renders():
    input = [("hello", 123), ("world", 456)]

    expected = """***************************[ 1. row ]***************************
name | hello
age  | 123
***************************[ 2. row ]***************************
name | world
age  | 456
"""
    assert expected == expanded_table(input, ["name", "age"])

Update expanded tests to match mysql style.
Update expanded tests to match mysql style.

  from mycli.packages.expanded import expanded_table
  
  def test_expanded_table_renders():
      input = [("hello", 123), ("world", 456)]
  
-     expected = """-[ RECORD 0 ]
+     expected = """***************************[ 1. row ]***************************
  name | hello
  age  | 123
- -[ RECORD 1 ]
+ ***************************[ 2. row ]***************************
  name | world
  age  | 456
  """
      assert expected == expanded_table(input, ["name", "age"])
  
Update expanded tests to match mysql style.
## Code Before:
from mycli.packages.expanded import expanded_table

def test_expanded_table_renders():
    input = [("hello", 123), ("world", 456)]

    expected = """-[ RECORD 0 ]
name | hello
age  | 123
-[ RECORD 1 ]
name | world
age  | 456
"""
    assert expected == expanded_table(input, ["name", "age"])

## Instruction:
Update expanded tests to match mysql style.
## Code After:
from mycli.packages.expanded import expanded_table

def test_expanded_table_renders():
    input = [("hello", 123), ("world", 456)]

    expected = """***************************[ 1. row ]***************************
name | hello
age  | 123
***************************[ 2. row ]***************************
name | world
age  | 456
"""
    assert expected == expanded_table(input, ["name", "age"])
