Skip to content

Commit

Permalink
fix: Faker.File tests
Browse files Browse the repository at this point in the history
  • Loading branch information
igas committed Oct 1, 2023
1 parent 94f891c commit 4e97288
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions lib/faker/file.ex
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ defmodule Faker.File do
## Examples
iex> Faker.File.file_extension()
"wav"
"txt"
iex> Faker.File.file_extension()
"wav"
"html"
iex> Faker.File.file_extension()
"doc"
"flac"
iex> Faker.File.file_extension()
"mov"
"odt"
"""
@spec file_extension() :: String.t()
def file_extension do
Expand Down Expand Up @@ -84,11 +84,11 @@ defmodule Faker.File do
iex> Faker.File.file_name()
"aliquam.jpg"
iex> Faker.File.file_name()
"deleniti.doc"
"deleniti.flac"
iex> Faker.File.file_name()
"qui.jpg"
iex> Faker.File.file_name()
"quibusdam.csv"
"quibusdam.webm"
"""
@spec file_name() :: String.t()
def file_name do
Expand Down Expand Up @@ -121,13 +121,13 @@ defmodule Faker.File do
## Examples
iex> Faker.File.mime_type()
"text/css"
"model/mesh"
iex> Faker.File.mime_type()
"message/http"
"image/tiff"
iex> Faker.File.mime_type()
"application/ogg"
"message/partial"
iex> Faker.File.mime_type()
"model/x3d+xml"
"audio/webm"
"""
@spec mime_type :: String.t()
def mime_type do
Expand Down

0 comments on commit 4e97288

Please sign in to comment.