You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: test_scalar_scanner.rb
    path of file: ./repos/jruby/test/mri/psych
    
    the code of the file until where you have to start completion: # frozen_string_literal
    
    def test_scan_date
      date = '1980-12-16'
      token = @ss.tokenize date
      assert_equal 1980, token.year
      assert_equal 12, token.month
      assert_equal 16, token.day
    end